summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-27 10:50:38 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 10:51:08 +0200
commit1a08ce70788fe3d8938627aa21bde1861cd94181 (patch)
tree0854d10f83309b02d9a1661131f067c183cf1fd8 /rsc
parentaa7a829e7df30a5356fca2bae0bb7eb51367f08d (diff)
loplugin:staticfunction
Change-Id: I10c30ef28e7321882a720d1e7869a75a89febfc5
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rsccont.hxx2
-rw-r--r--rsc/inc/rscdb.hxx4
-rw-r--r--rsc/inc/rscerror.h2
-rw-r--r--rsc/inc/rscrange.hxx2
-rw-r--r--rsc/inc/rscrsc.hxx2
5 files changed, 6 insertions, 6 deletions
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,