Kaydet (Commit) 3107156f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: Id440c165f6e98a7d0fe0c8c578e404db75416c48
üst 06b51293
......@@ -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();
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment