diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-01 12:16:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-01 15:21:18 +0100 |
commit | 511e0e173887815c4efc4d41db3ad10ec38ad003 (patch) | |
tree | b1b39cdb042b1f76a7bde131ba46bbc3f9b2668c /desktop/source/pkgchk/unopkg/unopkg_misc.cxx | |
parent | ed132e5b9dfaa226395534462eff956df9a7412f (diff) |
tweak these a bit to allow better template
Diffstat (limited to 'desktop/source/pkgchk/unopkg/unopkg_misc.cxx')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 4 |
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 d8f30ed26ae3..a2c9baf4986e 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -180,7 +180,7 @@ bool readArgument( namespace { struct ExecutableDir : public rtl::StaticWithInit< - const OUString, ExecutableDir> { + OUString, ExecutableDir> { const OUString operator () () { OUString path; if (osl_getExecutableFile( &path.pData ) != osl_Process_E_None) { @@ -191,7 +191,7 @@ struct ExecutableDir : public rtl::StaticWithInit< } }; struct ProcessWorkingDir : public rtl::StaticWithInit< - const OUString, ProcessWorkingDir> { + OUString, ProcessWorkingDir> { const OUString operator () () { OUString workingDir; tools::getProcessWorkingDir(workingDir); |