diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-30 01:33:36 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-29 18:38:09 +0200 |
commit | ad3e1afe5969d6c53b1ed285b7c36685bd457b1c (patch) | |
tree | 3a474dabeaeb593ce876073b2fe93df940697a6f /lingucomponent | |
parent | d1ac762cd6c60d5fe8ffaf335c6358651c969567 (diff) |
Move getProcessWorkingDir from tools to unotools
Change-Id: Ifd86ab3c89c285ad5329fc86cc57967ebd1af91a
Reviewed-on: https://gerrit.libreoffice.org/37100
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/lingutil/lingutil.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx index fd7151fc7b07..5ecb404ae9df 100644 --- a/lingucomponent/source/lingutil/lingutil.cxx +++ b/lingucomponent/source/lingutil/lingutil.cxx @@ -26,9 +26,9 @@ #include <osl/process.h> #include <tools/debug.hxx> #include <tools/urlobj.hxx> -#include <tools/getprocessworkingdir.hxx> #include <i18nlangtag/languagetag.hxx> #include <i18nlangtag/mslangid.hxx> +#include <unotools/bootstrap.hxx> #include <unotools/lingucfg.hxx> #include <unotools/pathoptions.hxx> #include <rtl/ustring.hxx> @@ -200,7 +200,7 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy OUString aRelative; OUString aAbsolute; - if (!tools::getProcessWorkingDir(aCWD)) + if (!utl::Bootstrap::getProcessWorkingDir(aCWD)) continue; if (osl::FileBase::getFileURLFromSystemPath(aSystem, aRelative) != osl::FileBase::E_None) |