Kaydet (Commit) 88ec5de1 authored tarafından Noel Grandin's avatar Noel Grandin

expand SvMetaType::ReadNamesSvIdl

it just forwards to ReadNameSvIdl

Change-Id: I803edb7a5977cf309e2cedaa3b4764bcbd933597
üst 406798f8
...@@ -59,8 +59,6 @@ class SvMetaType : public SvMetaReference ...@@ -59,8 +59,6 @@ class SvMetaType : public SvMetaReference
void WriteSfxItem( const OString& rItemName, SvIdlDataBase & rBase, void WriteSfxItem( const OString& rItemName, SvIdlDataBase & rBase,
SvStream & rOutStm ); SvStream & rOutStm );
protected: protected:
bool ReadNamesSvIdl( SvTokenStream & rInStm );
bool ReadHeaderSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); bool ReadHeaderSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
public: public:
SvMetaType(); SvMetaType();
......
...@@ -167,12 +167,12 @@ bool SvMetaType::ReadHeaderSvIdl( SvIdlDataBase & , ...@@ -167,12 +167,12 @@ bool SvMetaType::ReadHeaderSvIdl( SvIdlDataBase & ,
if( rTok.Is( SvHash_interface() ) ) if( rTok.Is( SvHash_interface() ) )
{ {
SetType( MetaTypeType::Interface ); SetType( MetaTypeType::Interface );
bOk = ReadNamesSvIdl( rInStm ); bOk = ReadNameSvIdl( rInStm );
} }
else if( rTok.Is( SvHash_shell() ) ) else if( rTok.Is( SvHash_shell() ) )
{ {
SetType( MetaTypeType::Shell ); SetType( MetaTypeType::Shell );
bOk = ReadNamesSvIdl( rInStm ); bOk = ReadNameSvIdl( rInStm );
} }
if( !bOk ) if( !bOk )
rInStm.Seek( nTokPos ); rInStm.Seek( nTokPos );
...@@ -190,11 +190,6 @@ bool SvMetaType::ReadSvIdl( SvIdlDataBase & rBase, ...@@ -190,11 +190,6 @@ bool SvMetaType::ReadSvIdl( SvIdlDataBase & rBase,
return false; return false;
} }
bool SvMetaType::ReadNamesSvIdl( SvTokenStream & rInStm )
{
return ReadNameSvIdl( rInStm );
}
void SvMetaType::ReadContextSvIdl( SvIdlDataBase & rBase, void SvMetaType::ReadContextSvIdl( SvIdlDataBase & rBase,
SvTokenStream & rInStm ) SvTokenStream & rInStm )
{ {
......
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