summaryrefslogtreecommitdiff
path: root/idl/source/objects/object.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source/objects/object.cxx')
-rw-r--r--idl/source/objects/object.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx
index 396eedaaebfe..c5c3589acdea 100644
--- a/idl/source/objects/object.cxx
+++ b/idl/source/objects/object.cxx
@@ -106,7 +106,7 @@ bool SvMetaClass::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm )
(GetMetaTypeType() == MetaTypeType::Interface || GetMetaTypeType() == MetaTypeType::Shell) )
{
bool bOk = true;
- if( rInStm.Read( ':' ) )
+ if( rInStm.ReadIf( ':' ) )
{
aSuperClass = rBase.ReadKnownClass( rInStm );
bOk = aSuperClass.Is();