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/source/objects | |
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/source/objects')
-rw-r--r-- | idl/source/objects/slot.cxx | 4 | ||||
-rw-r--r-- | idl/source/objects/types.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index ff32774ae4c1..2db9e130fd76 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -355,7 +355,7 @@ static OString MakeSlotName( SvStringHashEntry const * pEntry ) void SvMetaSlot::WriteSlotStubs( const OString& rShellName, ByteStringList & rList, - SvStream & rOutStm ) + SvStream & rOutStm ) const { if ( !GetExport() && !GetHidden() ) return; @@ -595,7 +595,7 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount, rOutStm.WriteCharPtr( " )," ) << endl; } -sal_uInt16 SvMetaSlot::WriteSlotParamArray( SvIdlDataBase & rBase, SvStream & rOutStm ) +sal_uInt16 SvMetaSlot::WriteSlotParamArray( SvIdlDataBase & rBase, SvStream & rOutStm ) const { if ( !GetExport() && !GetHidden() ) return 0; diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 3dbe7ecd9825..d79efe81fc43 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -96,7 +96,7 @@ bool SvMetaAttribute::ReadSvIdl( SvIdlDataBase & rBase, return bOk; } -sal_uLong SvMetaAttribute::MakeSfx( OStringBuffer& rAttrArray ) +sal_uLong SvMetaAttribute::MakeSfx( OStringBuffer& rAttrArray ) const { SvMetaType * pType = GetType(); DBG_ASSERT( pType, "no type for attribute" ); |