summaryrefslogtreecommitdiff
path: root/desktop/source/pkgchk/unopkg
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 14:40:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 18:14:37 +0200
commitd48d9c0f96870780be35cf98b7915fdbb4db6735 (patch)
treea781783dedcbf9fac04338a44f3720a6bd60875e /desktop/source/pkgchk/unopkg
parentc7799d71899c121334855c3234a9492687803b59 (diff)
loplugin:returnconstval in desktop..forms
Change-Id: I268e352e4e3054d1c1a8e61e52d91fd99794b359 Reviewed-on: https://gerrit.libreoffice.org/78057 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/pkgchk/unopkg')
-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;