diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-30 11:45:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-30 13:06:54 +0100 |
commit | 9ee60319c675087486907707c8a2b18b5c9dc9fc (patch) | |
tree | d4accdcfe604efa91518f37a1283ea436ecc65b7 /idl/inc | |
parent | 4eec79bb376b64a9a90de4b6540c90776d3dba32 (diff) |
loplugin:constmethod in idl,helpcompiler
Change-Id: I9b328fc0a3ebdd15a646ee6dab800ffbadb1aaef
Reviewed-on: https://gerrit.libreoffice.org/44050
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl/inc')
-rw-r--r-- | idl/inc/database.hxx | 2 | ||||
-rw-r--r-- | idl/inc/slot.hxx | 4 | ||||
-rw-r--r-- | idl/inc/types.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx index 2d48204b5f57..bc4ef2a5e27e 100644 --- a/idl/inc/database.hxx +++ b/idl/inc/database.hxx @@ -112,7 +112,7 @@ public: void SetPath(const OUString &s) { aPath = s; } SvRefMemberList<SvMetaObject *>& GetStack() { return aContextStack; } - void Write(const OString& rText); + void Write(const OString& rText) const; void WriteError( SvTokenStream & rInStm ); void SetError( const OString& rError, SvToken const & rTok ); void SetAndWriteError( SvTokenStream & rInStm, const OString& rError ); diff --git a/idl/inc/slot.hxx b/idl/inc/slot.hxx index d9ac77a591f5..1aa6ebca6913 100644 --- a/idl/inc/slot.hxx +++ b/idl/inc/slot.hxx @@ -120,7 +120,7 @@ public: virtual void Insert( SvSlotElementList& ) override; void WriteSlotStubs( const OString& rShellName, ByteStringList & rList, - SvStream & rOutStm ); + SvStream & rOutStm ) const; sal_uInt16 WriteSlotMap( const OString& rShellName, sal_uInt16 nCount, SvSlotElementList&, @@ -128,7 +128,7 @@ public: SvIdlDataBase & rBase, SvStream & rOutStm ); sal_uInt16 WriteSlotParamArray( SvIdlDataBase & rBase, - SvStream & rOutStm ); + SvStream & rOutStm ) const; }; #endif // INCLUDED_IDL_INC_SLOT_HXX diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx index c4ceed384fdf..0d7de1c59a63 100644 --- a/idl/inc/types.hxx +++ b/idl/inc/types.hxx @@ -43,7 +43,7 @@ public: virtual bool Test( SvTokenStream & rInStm ) override; virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override; - sal_uLong MakeSfx( OStringBuffer& rAtrrArray ); + sal_uLong MakeSfx( OStringBuffer& rAtrrArray ) const; virtual void Insert( SvSlotElementList& ); }; |