summaryrefslogtreecommitdiff
path: root/desktop/source/pkgchk
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/pkgchk')
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_misc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
index 6a11fdeae059..aebf71fc26d1 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
@@ -160,7 +160,7 @@ bool readArgument(
namespace {
struct ExecutableDir : public rtl::StaticWithInit<
OUString, ExecutableDir> {
- const OUString operator () () {
+ OUString operator () () {
OUString path;
if (osl_getExecutableFile( &path.pData ) != osl_Process_E_None) {
throw RuntimeException("cannot locate executable directory!",nullptr);
@@ -170,7 +170,7 @@ struct ExecutableDir : public rtl::StaticWithInit<
};
struct ProcessWorkingDir : public rtl::StaticWithInit<
OUString, ProcessWorkingDir> {
- const OUString operator () () {
+ OUString operator () () {
OUString workingDir;
utl::Bootstrap::getProcessWorkingDir(workingDir);
return workingDir;