summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-10 11:07:36 +0200
committerNoel Grandin <noel@peralex.com>2015-04-13 09:37:12 +0200
commitee094bd46f55118993c72af719dc046476f9f311 (patch)
treed4658be34517150ec7881e7929e38f533ff0b393 /include
parent26ec80f47df1b32c5e1ae8c96d597ef8c90fee86 (diff)
loplugin:staticmethods
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
Diffstat (limited to 'include')
-rw-r--r--include/basic/basmgr.hxx4
-rw-r--r--include/basic/sbmod.hxx2
-rw-r--r--include/basic/sbstar.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx
index fdad8f5e1056..156d6ecaf8b2 100644
--- a/include/basic/basmgr.hxx
+++ b/include/basic/basmgr.hxx
@@ -138,9 +138,9 @@ protected:
void LoadBasicManager( SotStorage& rStorage, const OUString& rBaseURL, bool bLoadBasics = true );
void LoadOldBasicManager( SotStorage& rStorage );
bool ImplLoadBasic( SvStream& rStrm, StarBASICRef& rOldBasic ) const;
- bool ImplEncryptStream( SvStream& rStream ) const;
+ static bool ImplEncryptStream( SvStream& rStream );
BasicLibInfo* FindLibInfo( StarBASIC* pBasic );
- void CheckModules( StarBASIC* pBasic, bool bReference ) const;
+ static void CheckModules( StarBASIC* pBasic, bool bReference );
virtual ~BasicManager();
public:
diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx
index 5aaafa73ea3b..9f2a5d82af03 100644
--- a/include/basic/sbmod.hxx
+++ b/include/basic/sbmod.hxx
@@ -137,7 +137,7 @@ public:
bool createCOMWrapperForIface( ::com::sun::star::uno::Any& o_rRetAny, SbClassModuleObject* pProxyClassModuleObject );
void GetCodeCompleteDataFromParse(CodeCompleteDataCache& aCache);
SbxArrayRef GetMethods() { return pMethods;}
- OUString GetKeywordCase( const OUString& sKeyword ) const;
+ static OUString GetKeywordCase( const OUString& sKeyword );
};
typedef tools::SvRef<SbModule> SbModuleRef;
diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx
index 105bf944c419..327027bee041 100644
--- a/include/basic/sbstar.hxx
+++ b/include/basic/sbstar.hxx
@@ -109,7 +109,7 @@ public:
SbModule* MakeModule( const OUString& rName, const OUString& rSrc );
SbModule* MakeModule32( const OUString& rName, const OUString& rSrc );
SbModule* MakeModule32( const OUString& rName, const com::sun::star::script::ModuleInfo& mInfo, const OUString& rSrc );
- bool Compile( SbModule* );
+ static bool Compile( SbModule* );
static void Stop();
static void Error( SbError );
static void Error( SbError, const OUString& rMsg );