diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:50:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:28 +0200 |
commit | 3107156f4135ca58998abd5d621a33af82cb8ddb (patch) | |
tree | e3a4233a6d3adcf9e931d96612f3186a85604dd5 | |
parent | 06b51293f61df304960f70ce5b827983c8bff8c1 (diff) |
loplugin:staticcall
Change-Id: Id440c165f6e98a7d0fe0c8c578e404db75416c48
-rw-r--r-- | idl/source/objects/slot.cxx | 8 | ||||
-rw-r--r-- | idl/source/prj/command.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
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 ) |