summaryrefslogtreecommitdiff
path: root/office/LibreOffice/substitutepathvars.diff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2016-09-30 17:08:05 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:29:13 +0700
commit40260794b97b31ac67ac5eaea7d9922f1ae053aa (patch)
treefcf663ee829841518efcdbb6a2431f3f1bb681d0 /office/LibreOffice/substitutepathvars.diff
parent7f34e8407b90071af4268471ce24dea30503ac85 (diff)
downloadslackbuilds-40260794b97b31ac67ac5eaea7d9922f1ae053aa.tar.gz
office/LibreOffice: Updated for version 5.2.2.2
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
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 0000000000..e73db4b08e
--- /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