diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-07 13:16:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 10:13:18 +0200 |
commit | 35163715ead39eece619a5790903c88fa4216ec6 (patch) | |
tree | 68f657e8f4137d234d1b6b32835e3ff540b4b01a /i18npool | |
parent | e68c699b7e7efdf3678b450124b9e08ee227ddb9 (diff) |
loplugin:staticmethods
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/numberformatcode.hxx | 2 | ||||
-rw-r--r-- | i18npool/inc/transliteration_Ignore.hxx | 2 | ||||
-rw-r--r-- | i18npool/source/search/levdis.hxx | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/i18npool/inc/numberformatcode.hxx b/i18npool/inc/numberformatcode.hxx index 511a765607ef..e6c6e547acea 100644 --- a/i18npool/inc/numberformatcode.hxx +++ b/i18npool/inc/numberformatcode.hxx @@ -65,7 +65,7 @@ private: static OUString mapElementTypeShortToString(sal_Int16 formatType); static sal_Int16 mapElementTypeStringToShort(const OUString& formatType); static OUString mapElementUsageShortToString(sal_Int16 formatUsage); - sal_Int16 mapElementUsageStringToShort(const OUString& formatUsage); + static sal_Int16 mapElementUsageStringToShort(const OUString& formatUsage); void createLocaleDataObject(); }; diff --git a/i18npool/inc/transliteration_Ignore.hxx b/i18npool/inc/transliteration_Ignore.hxx index b610bf6b3807..5cec8d475f80 100644 --- a/i18npool/inc/transliteration_Ignore.hxx +++ b/i18npool/inc/transliteration_Ignore.hxx @@ -57,7 +57,7 @@ public: throw(com::sun::star::uno::RuntimeException, com::sun::star::i18n::MultipleCharsOutputException, std::exception) SAL_OVERRIDE; - com::sun::star::uno::Sequence< OUString > SAL_CALL + static com::sun::star::uno::Sequence< OUString > SAL_CALL transliterateRange( const OUString& str1, const OUString& str2, XTransliteration& t1, XTransliteration& t2 ) throw(com::sun::star::uno::RuntimeException); diff --git a/i18npool/source/search/levdis.hxx b/i18npool/source/search/levdis.hxx index 426e7228de5b..9530ab988405 100644 --- a/i18npool/source/search/levdis.hxx +++ b/i18npool/source/search/levdis.hxx @@ -142,11 +142,11 @@ class WLevDistance bool bSplitCount; ///< if TRUE, Rep/Ins/Del are counted separately void InitData( const sal_Unicode* cPattern ); - inline int Min3( int x, int y, int z ); ///< minimum value of 3 values - int Mid3( int x, int y, int z ); ///< middle value of 3 values - int Max3( int x, int y, int z ); ///< maximum value of 3 values - int GCD( int a, int b ); ///< Greatest Common Divisor - int LCM( int a, int b ); ///< Least Common Multiple + static inline int Min3( int x, int y, int z ); ///< minimum value of 3 values + static int Mid3( int x, int y, int z ); ///< middle value of 3 values + static int Max3( int x, int y, int z ); ///< maximum value of 3 values + static int GCD( int a, int b ); ///< Greatest Common Divisor + static int LCM( int a, int b ); ///< Least Common Multiple public: |