diff options
-rw-r--r-- | idl/inc/types.hxx | 4 | ||||
-rw-r--r-- | idl/source/objects/types.cxx | 9 |
2 files changed, 3 insertions, 10 deletions
diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx index 9768f8f284e8..bcffc371ef99 100644 --- a/idl/inc/types.hxx +++ b/idl/inc/types.hxx @@ -34,7 +34,7 @@ public: tools::SvRef<SvMetaType> aType; SvIdentifier aSlotId; SvMetaAttribute(); - SvMetaAttribute( SvMetaType * ); + SvMetaAttribute( SvMetaType * ); void SetSlotId( const SvIdentifier & rId ) { aSlotId = rId; } @@ -59,8 +59,6 @@ class SvMetaType : public SvMetaReference void WriteSfxItem( const OString& rItemName, SvIdlDataBase & rBase, SvStream & rOutStm ); protected: - bool ReadNamesSvIdl( SvTokenStream & rInStm ); - bool ReadHeaderSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); public: SvMetaType(); diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 6a38caa8b032..a7b913d49d4f 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -167,12 +167,12 @@ bool SvMetaType::ReadHeaderSvIdl( SvIdlDataBase & , if( rTok.Is( SvHash_interface() ) ) { SetType( MetaTypeType::Interface ); - bOk = ReadNamesSvIdl( rInStm ); + bOk = ReadNameSvIdl( rInStm ); } else if( rTok.Is( SvHash_shell() ) ) { SetType( MetaTypeType::Shell ); - bOk = ReadNamesSvIdl( rInStm ); + bOk = ReadNameSvIdl( rInStm ); } if( !bOk ) rInStm.Seek( nTokPos ); @@ -190,11 +190,6 @@ bool SvMetaType::ReadSvIdl( SvIdlDataBase & rBase, return false; } -bool SvMetaType::ReadNamesSvIdl( SvTokenStream & rInStm ) -{ - return ReadNameSvIdl( rInStm ); -} - void SvMetaType::ReadContextSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ) { |