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 | |
parent | ed132e5b9dfaa226395534462eff956df9a7412f (diff) |
tweak these a bit to allow better template
Diffstat (limited to 'desktop/source/pkgchk')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 2 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 4 | ||||
-rwxr-xr-x | desktop/source/pkgchk/unopkg/unopkg_shared.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index f39364ae4dd9..1732b3fb5f88 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -67,7 +67,7 @@ namespace { //============================================================================== struct OfficeLocale : - public rtl::StaticWithInit<const lang::Locale, OfficeLocale> { + public rtl::StaticWithInit<lang::Locale, OfficeLocale> { const lang::Locale operator () () { OUString slang; if (! (::utl::ConfigManager::GetDirectConfigProperty( 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); diff --git a/desktop/source/pkgchk/unopkg/unopkg_shared.h b/desktop/source/pkgchk/unopkg/unopkg_shared.h index eddb5b3e0f09..feffd892a27e 100755 --- a/desktop/source/pkgchk/unopkg/unopkg_shared.h +++ b/desktop/source/pkgchk/unopkg/unopkg_shared.h @@ -56,7 +56,7 @@ namespace unopkg { struct OfficeLocale : - public rtl::StaticWithInit<const css::lang::Locale, OfficeLocale> { + public rtl::StaticWithInit<css::lang::Locale, OfficeLocale> { const css::lang::Locale operator () () { ::rtl::OUString slang; if (! (::utl::ConfigManager::GetDirectConfigProperty( |