From e4688a3d41265946007c6c9a5c5b5742078c74a3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 2 Apr 2015 11:09:37 +0200 Subject: loplugin:staticmethods Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af --- idl/inc/database.hxx | 4 ++-- idl/inc/object.hxx | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'idl/inc') diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx index 4fabd5fecbb9..4a7effb53a1c 100644 --- a/idl/inc/database.hxx +++ b/idl/inc/database.hxx @@ -108,10 +108,10 @@ public: SvMetaObjectMemberStack & GetStack() { return aContextStack; } void Write(const OString& rText); - void WriteError(const OString& rErrWrn, + static void WriteError(const OString& rErrWrn, const OString& rFileName, const OString& rErrorText, - sal_uLong nRow = 0, sal_uLong nColumn = 0 ) const; + sal_uLong nRow = 0, sal_uLong nColumn = 0 ); void WriteError( SvTokenStream & rInStm ); void SetError( const OString& rError, SvToken * pTok ); void Push( SvMetaObject * pObj ); diff --git a/idl/inc/object.hxx b/idl/inc/object.hxx index b0481a3ca796..1f0a0721f2c7 100644 --- a/idl/inc/object.hxx +++ b/idl/inc/object.hxx @@ -79,21 +79,21 @@ class SvMetaClass : public SvMetaType SvBOOL aAutomation; SvMetaClassRef xAutomationInterface; - bool TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInStm, + bool TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInStm, SvMetaAttribute & rAttr ) const; - void WriteSlotStubs( const OString& rShellName, + static void WriteSlotStubs( const OString& rShellName, SvSlotElementList & rSlotList, ByteStringList & rList, SvStream & rOutStm ); - sal_uInt16 WriteSlotParamArray( SvIdlDataBase & rBase, + static sal_uInt16 WriteSlotParamArray( SvIdlDataBase & rBase, SvSlotElementList & rSlotList, SvStream & rOutStm ); - sal_uInt16 WriteSlots( const OString& rShellName, sal_uInt16 nCount, + static sal_uInt16 WriteSlots( const OString& rShellName, sal_uInt16 nCount, SvSlotElementList & rSlotList, SvIdlDataBase & rBase, SvStream & rOutStm ); - void InsertSlots( SvSlotElementList& rList, std::vector& rSuperList, + void InsertSlots( SvSlotElementList& rList, std::vector& rSuperList, SvMetaClassList & rClassList, const OString& rPrefix, SvIdlDataBase& rBase ); -- cgit