summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorJookia <166291@gmail.com>2016-10-08 19:04:38 +1100
committerjan iversen <jani@documentfoundation.org>2016-10-10 20:09:41 +0000
commit8e8afc358b7537d493b478b429e1711c6ab46bdc (patch)
tree5ebd4c7addd2e24b0e1c0ed32a577ab0daef6664 /ios
parente0d442b1995082fd28614d51b85cb4248ba8189d (diff)
Search for old style dictionaries in DICPATH
When searching in system directories for old style dictionaries, also look in the DICPATH environment variable much like the Hunspell application does. This gives a lot more flexibility for users and packagers in finding dictionaries at runtime. The patch is simple, it just moves a block of code from GetOldStyleDics that handles searching a directory to a new function, GetOldStyleDicsInDir. Then if DICPATH is set, its directories are passed to the new function. Original system directories are also passed so dictionaries in system-wide directories are found. Change-Id: I56ac66539495f03f41376b533ca19c6c8d615ec3 Reviewed-on: https://gerrit.libreoffice.org/29543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'ios')
0 files changed, 0 insertions, 0 deletions