From 1a08ce70788fe3d8938627aa21bde1861cd94181 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 Mar 2015 10:50:38 +0200 Subject: loplugin:staticfunction Change-Id: I10c30ef28e7321882a720d1e7869a75a89febfc5 --- rsc/inc/rsccont.hxx | 2 +- rsc/inc/rscdb.hxx | 4 ++-- rsc/inc/rscerror.h | 2 +- rsc/inc/rscrange.hxx | 2 +- rsc/inc/rscrsc.hxx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'rsc') diff --git a/rsc/inc/rsccont.hxx b/rsc/inc/rsccont.hxx index 2cc19880d599..a2530b37280f 100644 --- a/rsc/inc/rsccont.hxx +++ b/rsc/inc/rsccont.hxx @@ -46,7 +46,7 @@ protected: sal_uInt32 nSize; // Groesse der Instanzdaten dieser Klasse // mit Superklassen sal_uInt32 nOffInstData;// Offset auf eigen Instanzdaten - void DestroyElements( RscBaseContInst * pClassData ); + static void DestroyElements( RscBaseContInst * pClassData ); RSCINST SearchElePos( const RSCINST & rInst, const RscId & rEleName, RscTop * pClass, sal_uInt32 nPos ); protected: diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index 6ddfe7d36fab..4cd9b41cd7bc 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -168,8 +168,8 @@ class RscTypCont RscArray * InitLangStringList( RscCont * pStrLst ); RscTupel * InitStringTupel(); RscTupel * InitStringLongTupel(); - RscCont * InitStringTupelList( RscTupel * pStringTupel ); - RscCont * InitStringLongTupelList( RscTupel * pStringLongTupel ); + static RscCont * InitStringTupelList( RscTupel * pStringTupel ); + static RscCont * InitStringLongTupelList( RscTupel * pStringLongTupel ); RscArray * InitLangStringTupelList( RscCont * pStrTupelLst ); RscArray * InitLangStringLongTupelList( RscCont * pStrLongTupelLst ); diff --git a/rsc/inc/rscerror.h b/rsc/inc/rscerror.h index a3e00137c3b7..2f6a6a71bf03 100644 --- a/rsc/inc/rscerror.h +++ b/rsc/inc/rscerror.h @@ -135,7 +135,7 @@ public: FILE * GetListFile(){ return fListing; } RscVerbosity GetVerbosity() const { return m_verbosity; } void StdOut( const char *, const RscVerbosity _verbosityLevel = RscVerbosityNormal ); - void StdErr( const char * ); + static void StdErr( const char * ); void LstOut( const char * ); void Error( const ERRTYPE& rError, RscTop* pClass, const RscId &aId, const char * pMessage = NULL ); diff --git a/rsc/inc/rscrange.hxx b/rsc/inc/rscrange.hxx index 738b0f80f9a8..0efe0d94d02e 100644 --- a/rsc/inc/rscrange.hxx +++ b/rsc/inc/rscrange.hxx @@ -157,7 +157,7 @@ public: RscBool( Atom nId, sal_uInt32 nTypId ); virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; // Der zulaessige Bereich wird gesetzt - ERRTYPE SetRange( sal_Int32, sal_Int32 ){ return ERR_UNKNOWN_METHOD; } + static ERRTYPE SetRange( sal_Int32, sal_Int32 ){ return ERR_UNKNOWN_METHOD; } ERRTYPE SetBool( const RSCINST & rInst, bool b ) SAL_OVERRIDE { return SetNumber( rInst, (sal_Int32)b ); diff --git a/rsc/inc/rscrsc.hxx b/rsc/inc/rscrsc.hxx index f0cc6e025353..5d982d2ff77a 100644 --- a/rsc/inc/rscrsc.hxx +++ b/rsc/inc/rscrsc.hxx @@ -69,7 +69,7 @@ class RscCompiler private: void CreateResFile( const char * pRc ); - bool GetImageFilePath( const RscCmdLine::OutputFile& rOutputFile, + static bool GetImageFilePath( const RscCmdLine::OutputFile& rOutputFile, const WriteRcContext& rContext, const OString& rBaseFileName, OString& rImagePath, -- cgit