summaryrefslogtreecommitdiff
path: root/idl/source/objects/types.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source/objects/types.cxx')
-rw-r--r--idl/source/objects/types.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index d40230a5b2e1..ca5bb4d01844 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -39,7 +39,7 @@ SvMetaAttribute::SvMetaAttribute( SvMetaType * pType )
SvMetaType * SvMetaAttribute::GetType() const
{
- if( aType.Is() || !GetRef() ) return aType;
+ if( aType.Is() || !GetRef() ) return aType.get();
return static_cast<SvMetaAttribute *>(GetRef())->GetType();
}
@@ -208,7 +208,7 @@ void SvMetaType::ReadContextSvIdl( SvIdlDataBase & rBase,
if( xAttr->ReadSvIdl( rBase, rInStm ) )
{
if( xAttr->Test( rInStm ) )
- GetAttrList().push_back( xAttr );
+ GetAttrList().push_back( xAttr.get() );
}
}