diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-11 11:49:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-15 09:18:04 +0200 |
commit | d59f411bf2920626c4d55b0477bd7bb3db8dae51 (patch) | |
tree | beb79473cc6266e8f96d147e58913af20f36a604 /extensions | |
parent | 2c0a010b19cd2f1f7cf976b3fe7129dc9bd9e69c (diff) |
loplugin:constantfunction
Change-Id: Id72123039409b7559fb4fdfe5f29bf1bb83ac23f
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/resource/oooresourceloader.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/extensions/source/resource/oooresourceloader.cxx b/extensions/source/resource/oooresourceloader.cxx index b315e4c0273b..cb973bc6957a 100644 --- a/extensions/source/resource/oooresourceloader.cxx +++ b/extensions/source/resource/oooresourceloader.cxx @@ -46,7 +46,7 @@ namespace extensions { namespace resource /** returns the RESOURCE_TYPE associated with this instance */ - static RESOURCE_TYPE getResourceType(); + static RESOURCE_TYPE getResourceType() { return RSC_STRING; } /** reads a single resource from the given resource manager @param _resourceManager the resource manager to read from @@ -65,11 +65,6 @@ namespace extensions { namespace resource { } - RESOURCE_TYPE StringResourceAccess::getResourceType() - { - return RSC_STRING; - } - Any StringResourceAccess::getResource( SimpleResMgr& _resourceManager, sal_Int32 _resourceId ) { OSL_PRECOND( _resourceManager.IsAvailable( getResourceType(), _resourceId ), "StringResourceAccess::getResource: precondition not met!" ); |