From 3107156f4135ca58998abd5d621a33af82cb8ddb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 13 Jun 2014 17:50:29 +0200 Subject: loplugin:staticcall Change-Id: Id440c165f6e98a7d0fe0c8c578e404db75416c48 --- idl/source/objects/slot.cxx | 8 ++++---- idl/source/prj/command.cxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'idl') diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index b1996c21aedb..6b8440119840 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -1347,7 +1347,7 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount, if( pT ) { rOutStm.WriteCharPtr( pT->GetName().getString().getStr() ); - if( !rBase.FindType( pT, rBase.aUsedTypes ) ) + if( !SvIdlDataBase::FindType( pT, rBase.aUsedTypes ) ) rBase.aUsedTypes.push_back( pT ); } else @@ -1356,7 +1356,7 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount, else { SvMetaType *pT = rBase.FindType( "SfxBoolItem" ); - if ( pT && !rBase.FindType( pT, rBase.aUsedTypes ) ) + if ( pT && !SvIdlDataBase::FindType( pT, rBase.aUsedTypes ) ) rBase.aUsedTypes.push_back( pT ); } @@ -1435,7 +1435,7 @@ sal_uInt16 SvMetaSlot::WriteSlotParamArray( SvIdlDataBase & rBase, SvStream & rO else pType = GetType(); - if( !rBase.FindType( pType, rBase.aUsedTypes ) ) + if( !SvIdlDataBase::FindType( pType, rBase.aUsedTypes ) ) rBase.aUsedTypes.push_back( pType ); const SvMetaAttributeMemberList & rList = @@ -1452,7 +1452,7 @@ sal_uInt16 SvMetaSlot::WriteSlotParamArray( SvIdlDataBase & rBase, SvStream & rO .WriteCharPtr("\"").WriteCharPtr(pPar->GetName().getString().getStr()).WriteCharPtr("\", ") // slot id .WriteCharPtr(pPar->GetSlotId().getString().getStr()).WriteCharPtr(" },") << endl; - if( !rBase.FindType( pPType, rBase.aUsedTypes ) ) + if( !SvIdlDataBase::FindType( pPType, rBase.aUsedTypes ) ) rBase.aUsedTypes.push_back( pPType ); } return (sal_uInt16)rList.size(); diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index b0178ccb798d..896ed4d6ca1b 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -139,7 +139,7 @@ bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand ) SvFileStream aStm( aFileName, STREAM_STD_READ | STREAM_NOCREATE ); if( aStm.GetError() == SVSTREAM_OK ) { - if( pDataBase->IsBinaryFormat( aStm ) ) + if( SvIdlDataBase::IsBinaryFormat( aStm ) ) { pDataBase->Load( aStm ); if( aStm.GetError() != SVSTREAM_OK ) -- cgit