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 /desktop/source/pkgchk | |
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 'desktop/source/pkgchk')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index bf40197682d7..c74d9e0d98aa 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -19,11 +19,8 @@ #include <config_folders.h> -#include "deployment.hrc" -#include "unopkg_shared.h" -#include "dp_identifier.hxx" -#include "dp_gui.hrc" -#include "lockfile.hxx" +#include <stdio.h> + #include <vcl/svapp.hxx> #include <vcl/msgbox.hxx> #include <rtl/bootstrap.hxx> @@ -32,14 +29,20 @@ #include <osl/process.h> #include <osl/file.hxx> #include <osl/thread.hxx> -#include <tools/getprocessworkingdir.hxx> -#include <comphelper/processfactory.hxx> #include <unotools/configmgr.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/ucb/UniversalContentBroker.hpp> +#include <unotools/bootstrap.hxx> #include <cppuhelper/bootstrap.hxx> #include <comphelper/sequence.hxx> -#include <stdio.h> +#include <comphelper/processfactory.hxx> + +#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/ucb/UniversalContentBroker.hpp> + +#include "deployment.hrc" +#include "unopkg_shared.h" +#include "dp_identifier.hxx" +#include "dp_gui.hrc" +#include "lockfile.hxx" using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -169,7 +172,7 @@ struct ProcessWorkingDir : public rtl::StaticWithInit< OUString, ProcessWorkingDir> { const OUString operator () () { OUString workingDir; - tools::getProcessWorkingDir(workingDir); + utl::Bootstrap::getProcessWorkingDir(workingDir); return workingDir; } }; |