aboutsummaryrefslogtreecommitdiff
path: root/office/LibreOffice/substitutepathvars.diff
diff options
context:
space:
mode:
Diffstat (limited to 'office/LibreOffice/substitutepathvars.diff')
-rw-r--r--office/LibreOffice/substitutepathvars.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/office/LibreOffice/substitutepathvars.diff b/office/LibreOffice/substitutepathvars.diff
new file mode 100644
index 0000000000000..e73db4b08e48e
--- /dev/null
+++ b/office/LibreOffice/substitutepathvars.diff
@@ -0,0 +1,12 @@
+--- framework/source/services/substitutepathvars.cxx.orig 2016-09-22 01:12:13.000000000 +1000
++++ framework/source/services/substitutepathvars.cxx 2016-09-30 10:54:26.208653704 +1000
+@@ -1095,7 +1095,8 @@
+ if ( nPos >= 0 )
+ {
+ bool bMatch = true;
+- if ( i->eVariable == PREDEFVAR_LANGID ||
++ if ( i->eVariable == PREDEFVAR_USERNAME ||
++ i->eVariable == PREDEFVAR_LANGID ||
+ i->eVariable == PREDEFVAR_VLANG )
+ {
+ // Special path variables as they can occur in the middle of a path. Only match if they