diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-02 14:07:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-07 10:24:54 +0200 |
commit | d1b27a1d9af27c0447d4eb1c8d5864b5028d7746 (patch) | |
tree | 7f551a3eb69040d674bf5b52b0405b897b23324f /i18npool | |
parent | e4688a3d41265946007c6c9a5c5b5742078c74a3 (diff) |
loplugin:staticmethods
Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/calendar_hijri.hxx | 10 | ||||
-rw-r--r-- | i18npool/inc/cclass_unicode.hxx | 4 | ||||
-rw-r--r-- | i18npool/inc/inputsequencechecker.hxx | 2 | ||||
-rw-r--r-- | i18npool/inc/numberformatcode.hxx | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/i18npool/inc/calendar_hijri.hxx b/i18npool/inc/calendar_hijri.hxx index abc727adb04e..0663303ffcfc 100644 --- a/i18npool/inc/calendar_hijri.hxx +++ b/i18npool/inc/calendar_hijri.hxx @@ -64,11 +64,11 @@ protected: static const sal_Int32 LeapYear[]; private: - double NewMoon(sal_Int32 n); - void getHijri(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year); - void ToGregorian(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year); - void getGregorianDay(sal_Int32 jd, sal_Int32 *pnDay, sal_Int32 *pnMonth, sal_Int32 *pnYear); - double getJulianDay(sal_Int32 day, sal_Int32 month, sal_Int32 year); + static double NewMoon(sal_Int32 n); + static void getHijri(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year); + static void ToGregorian(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year); + static void getGregorianDay(sal_Int32 jd, sal_Int32 *pnDay, sal_Int32 *pnMonth, sal_Int32 *pnYear); + static double getJulianDay(sal_Int32 day, sal_Int32 month, sal_Int32 year); }; } } } } diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx index 1a559173569b..4c295e1b5bd8 100644 --- a/i18npool/inc/cclass_unicode.hxx +++ b/i18npool/inc/cclass_unicode.hxx @@ -136,7 +136,7 @@ private: sal_Unicode cDecimalSep; /// Get corresponding KParseTokens flag for a character - sal_Int32 getParseTokensType( const sal_Unicode* aStr, sal_Int32 nPos ); + static sal_Int32 getParseTokensType( const sal_Unicode* aStr, sal_Int32 nPos ); /// Access parser table flags. UPT_FLAG_TYPE getFlags( const sal_Unicode* aStr, sal_Int32 nPos ); @@ -171,7 +171,7 @@ private: bool setupInternational( const com::sun::star::lang::Locale& rLocale ); /// Implementation of getCharacterType() for one single character - sal_Int32 SAL_CALL getCharType( const OUString& Text, sal_Int32 *nPos, sal_Int32 increment); + static sal_Int32 SAL_CALL getCharType( const OUString& Text, sal_Int32 *nPos, sal_Int32 increment); }; diff --git a/i18npool/inc/inputsequencechecker.hxx b/i18npool/inc/inputsequencechecker.hxx index 9114c0ee1a4b..510b8aa1bd3a 100644 --- a/i18npool/inc/inputsequencechecker.hxx +++ b/i18npool/inc/inputsequencechecker.hxx @@ -72,7 +72,7 @@ private : com::sun::star::uno::Reference< com::sun::star::i18n::XExtendedInputSequenceChecker >& SAL_CALL getInputSequenceChecker(sal_Char* rLanguage) throw (com::sun::star::uno::RuntimeException); - sal_Char* SAL_CALL getLanguageByScripType(sal_Unicode cChar, sal_Unicode nChar); + static sal_Char* SAL_CALL getLanguageByScripType(sal_Unicode cChar, sal_Unicode nChar); }; } } } } diff --git a/i18npool/inc/numberformatcode.hxx b/i18npool/inc/numberformatcode.hxx index 65bb0056fe7f..511a765607ef 100644 --- a/i18npool/inc/numberformatcode.hxx +++ b/i18npool/inc/numberformatcode.hxx @@ -62,9 +62,9 @@ private: void setupLocale( const ::com::sun::star::lang::Locale& rLocale ); void getFormats( const ::com::sun::star::lang::Locale& rLocale ); - OUString mapElementTypeShortToString(sal_Int16 formatType); - sal_Int16 mapElementTypeStringToShort(const OUString& formatType); - OUString mapElementUsageShortToString(sal_Int16 formatUsage); + 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); void createLocaleDataObject(); }; |