diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-27 10:50:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-27 10:51:08 +0200 |
commit | 1a08ce70788fe3d8938627aa21bde1861cd94181 (patch) | |
tree | 0854d10f83309b02d9a1661131f067c183cf1fd8 /l10ntools/inc | |
parent | aa7a829e7df30a5356fca2bae0bb7eb51367f08d (diff) |
loplugin:staticfunction
Change-Id: I10c30ef28e7321882a720d1e7869a75a89febfc5
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/cfgmerge.hxx | 4 | ||||
-rw-r--r-- | l10ntools/inc/export.hxx | 16 | ||||
-rw-r--r-- | l10ntools/inc/helpmerge.hxx | 2 | ||||
-rw-r--r-- | l10ntools/inc/lngmerge.hxx | 6 | ||||
-rw-r--r-- | l10ntools/inc/xrmmerge.hxx | 4 |
5 files changed, 16 insertions, 16 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx index 868b01dd0983..c61ff03ed261 100644 --- a/l10ntools/inc/cfgmerge.hxx +++ b/l10ntools/inc/cfgmerge.hxx @@ -112,7 +112,7 @@ protected: virtual void Output(const OString & rOutput)=0; - void Error(const OString &rError); + static void Error(const OString &rError); private: int ExecuteAnalyzedToken( int nToken, char *pToken ); @@ -121,7 +121,7 @@ private: const OString &rIsoLang, const OString &rResTyp ); - bool IsTokenClosed(const OString &rToken); + static bool IsTokenClosed(const OString &rToken); public: CfgParser(); diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index c7ceb9b4af1a..b868c7a546ad 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -152,23 +152,23 @@ private: OString FullId(); ///< creates cur. GID - OString GetPairedListID(const OString & rText); - OString GetPairedListString(const OString& rText); - OString StripList(const OString& rText); + static OString GetPairedListID(const OString & rText); + static OString GetPairedListString(const OString& rText); + static OString StripList(const OString& rText); void InsertListEntry(const OString &rLine); - void CleanValue( OString &rValue ); - OString GetText(const OString &rSource, int nToken); + static void CleanValue( OString &rValue ); + static OString GetText(const OString &rSource, int nToken); void ResData2Output( MergeEntrys *pEntry, sal_uInt16 nType, const OString& rTextType ); void MergeRest( ResData *pResData ); - void ConvertMergeContent( OString &rText ); - void ConvertExportContent( OString &rText ); + static void ConvertMergeContent( OString &rText ); + static void ConvertExportContent( OString &rText ); void WriteToMerged(const OString &rText , bool bSDFContent); void SetChildWithText(); - void CutComment( OString &rText ); + static void CutComment( OString &rText ); void WriteUTF8ByteOrderMarkToOutput() { *aOutput.mSimple << '\xEF' << '\xBB' << '\xBF'; } diff --git a/l10ntools/inc/helpmerge.hxx b/l10ntools/inc/helpmerge.hxx index 9787d18bf84a..89c85433d84f 100644 --- a/l10ntools/inc/helpmerge.hxx +++ b/l10ntools/inc/helpmerge.hxx @@ -56,7 +56,7 @@ public: private: bool MergeSingleFile( XMLFile* file , MergeDataFile* pMergeDataFile , const OString& sLanguage , OString const & sPath ); - void ProcessHelp( LangHashMap* aLangHM , const OString& sCur , ResData *pResData , MergeDataFile* pMergeDataFile ); + static void ProcessHelp( LangHashMap* aLangHM , const OString& sCur , ResData *pResData , MergeDataFile* pMergeDataFile ); }; #endif // INCLUDED_L10NTOOLS_INC_HELPMERGE_HXX diff --git a/l10ntools/inc/lngmerge.hxx b/l10ntools/inc/lngmerge.hxx index 278910c3a539..beab0c937360 100644 --- a/l10ntools/inc/lngmerge.hxx +++ b/l10ntools/inc/lngmerge.hxx @@ -48,10 +48,10 @@ private: OString sSource; std::vector<OString> aLanguages; - bool isNextGroup(OString &sGroup_out, const OString &sLine_in); - void ReadLine(const OString &rLine_in, + static bool isNextGroup(OString &sGroup_out, const OString &sLine_in); + static void ReadLine(const OString &rLine_in, OStringHashMap &rText_inout); - void WritePO(PoOfstream &aPOStream, OStringHashMap &rText_inout, + static void WritePO(PoOfstream &aPOStream, OStringHashMap &rText_inout, const OString &rActFileName, const OString &rID); public: LngParser(const OString &rLngFile); diff --git a/l10ntools/inc/xrmmerge.hxx b/l10ntools/inc/xrmmerge.hxx index 96997f0cab35..13fb191e3a00 100644 --- a/l10ntools/inc/xrmmerge.hxx +++ b/l10ntools/inc/xrmmerge.hxx @@ -39,8 +39,8 @@ private: OString sCurrentCloseTag; OString sCurrentText; protected: - OString GetAttribute( const OString &rToken, const OString &rAttribute ); - void Error( const OString &rError ); + static OString GetAttribute( const OString &rToken, const OString &rAttribute ); + static void Error( const OString &rError ); virtual void Output( const OString& rOutput )=0; virtual void WorkOnDesc( |