summaryrefslogtreecommitdiff
path: root/idl/source/objects
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-15 14:22:36 +0200
committerNoel Grandin <noel@peralex.com>2016-02-15 15:47:30 +0200
commitf7520bbc80b571a15adca5279cc7fc5e8965e53c (patch)
treeab18692f88820aa9d69b2543c9f9656dcc32c236 /idl/source/objects
parentac432839329866659e339b582d31a1980c035c2e (diff)
move interface/shell parsing to SvIdlParser
Change-Id: I95cce21c6c9beb5637dd4f4a769f455eaacbec2b
Diffstat (limited to 'idl/source/objects')
-rw-r--r--idl/source/objects/object.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx
index c5c3589acdea..711ca195f915 100644
--- a/idl/source/objects/object.cxx
+++ b/idl/source/objects/object.cxx
@@ -99,34 +99,6 @@ void SvMetaClass::ReadContextSvIdl( SvIdlDataBase & rBase,
rInStm.Seek( nTokPos );
}
-bool SvMetaClass::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm )
-{
- sal_uLong nTokPos = rInStm.Tell();
- if( SvMetaType::ReadHeaderSvIdl( rBase, rInStm ) &&
- (GetMetaTypeType() == MetaTypeType::Interface || GetMetaTypeType() == MetaTypeType::Shell) )
- {
- bool bOk = true;
- if( rInStm.ReadIf( ':' ) )
- {
- aSuperClass = rBase.ReadKnownClass( rInStm );
- bOk = aSuperClass.Is();
- if( !bOk )
- {
- throw SvParseException( rInStm, "unknown super class" );
- }
- }
- if( bOk )
- {
- rBase.Write(OString('.'));
- bOk = SvMetaObject::ReadSvIdl( rBase, rInStm );
- }
- if( bOk )
- return bOk;
- }
- rInStm.Seek( nTokPos );
- return false;
-}
-
bool SvMetaClass::TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInStm,
SvMetaAttribute & rAttr ) const
{