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/deployment/inc | |
parent | ed132e5b9dfaa226395534462eff956df9a7412f (diff) |
tweak these a bit to allow better template
Diffstat (limited to 'desktop/source/deployment/inc')
-rw-r--r-- | desktop/source/deployment/inc/dp_dependencies.hxx | 2 | ||||
-rwxr-xr-x | desktop/source/deployment/inc/dp_resource.h | 2 | ||||
-rwxr-xr-x | desktop/source/deployment/inc/dp_ucb.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/inc/dp_dependencies.hxx b/desktop/source/deployment/inc/dp_dependencies.hxx index e39c70c99a91..246d176bc4ec 100644 --- a/desktop/source/deployment/inc/dp_dependencies.hxx +++ b/desktop/source/deployment/inc/dp_dependencies.hxx @@ -45,7 +45,7 @@ namespace rtl { class OUString; } namespace dp_misc { -struct BrandName : public ::rtl::StaticWithInit<const ::rtl::OUString, BrandName> { +struct BrandName : public ::rtl::StaticWithInit< ::rtl::OUString, BrandName > { const ::rtl::OUString operator () () { return ::utl::ConfigManager::GetDirectConfigProperty( ::utl::ConfigManager::PRODUCTNAME ).get< ::rtl::OUString >(); diff --git a/desktop/source/deployment/inc/dp_resource.h b/desktop/source/deployment/inc/dp_resource.h index d23b187c2275..d7c16bb69b52 100755 --- a/desktop/source/deployment/inc/dp_resource.h +++ b/desktop/source/deployment/inc/dp_resource.h @@ -47,7 +47,7 @@ DESKTOP_DEPLOYMENTMISC_DLLPUBLIC String getResourceString( sal_uInt16 id ); template <typename Unique, sal_uInt16 id> struct StaticResourceString : - public ::rtl::StaticWithInit<const ::rtl::OUString, Unique> { + public ::rtl::StaticWithInit< ::rtl::OUString, Unique > { const ::rtl::OUString operator () () { return getResourceString(id); } }; diff --git a/desktop/source/deployment/inc/dp_ucb.h b/desktop/source/deployment/inc/dp_ucb.h index 22d54de5885a..52ac31369ac0 100755 --- a/desktop/source/deployment/inc/dp_ucb.h +++ b/desktop/source/deployment/inc/dp_ucb.h @@ -45,7 +45,7 @@ namespace css = ::com::sun::star; namespace dp_misc { struct DESKTOP_DEPLOYMENTMISC_DLLPUBLIC StrTitle : - public rtl::StaticWithInit<const rtl::OUString, StrTitle> + public rtl::StaticWithInit<rtl::OUString, StrTitle> { const rtl::OUString operator () (); }; |