diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-10 11:07:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-13 09:37:12 +0200 |
commit | ee094bd46f55118993c72af719dc046476f9f311 (patch) | |
tree | d4658be34517150ec7881e7929e38f533ff0b393 /scripting | |
parent | 26ec80f47df1b32c5e1ae8c96d597ef8c90fee86 (diff) |
loplugin:staticmethods
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/provider/MasterScriptProvider.hxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/URIHelper.hxx | 2 | ||||
-rw-r--r-- | scripting/source/stringresource/stringresource.hxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx index e321a2cac131..74523bbae442 100644 --- a/scripting/source/provider/MasterScriptProvider.hxx +++ b/scripting/source/provider/MasterScriptProvider.hxx @@ -112,7 +112,7 @@ public: OUString getContextString() { return m_sCtxString; } private: - OUString parseLocationName( const OUString& location ); + static OUString parseLocationName( const OUString& location ); void createPkgProvider(); bool isValid() { return m_bIsValid;} OUString getURLForModel(); diff --git a/scripting/source/provider/URIHelper.hxx b/scripting/source/provider/URIHelper.hxx index 199038431094..e4162e82ca14 100644 --- a/scripting/source/provider/URIHelper.hxx +++ b/scripting/source/provider/URIHelper.hxx @@ -53,7 +53,7 @@ private: bool initBaseURI(); OUString getLanguagePart(const OUString& rStorageURI); - OUString getLanguagePath(const OUString& rLanguagePart); + static OUString getLanguagePath(const OUString& rLanguagePart); public: diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx index ff750bdda48b..3054da7840cd 100644 --- a/scripting/source/stringresource/stringresource.hxx +++ b/scripting/source/stringresource/stringresource.hxx @@ -261,8 +261,8 @@ protected: virtual void implLoadAllLocales( void ) SAL_OVERRIDE; void implScanLocaleNames( const ::com::sun::star::uno::Sequence< OUString >& aContentSeq ); - OUString implGetFileNameForLocaleItem( LocaleItem* pLocaleItem, const OUString& aNameBase ); - OUString implGetPathForLocaleItem( LocaleItem* pLocaleItem, const OUString& aNameBase, + static OUString implGetFileNameForLocaleItem( LocaleItem* pLocaleItem, const OUString& aNameBase ); + static OUString implGetPathForLocaleItem( LocaleItem* pLocaleItem, const OUString& aNameBase, const OUString& aLocation, bool bDefaultFile=false ); bool implReadPropertiesFile( LocaleItem* pLocaleItem, |