summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/schema/qxsdcomplextype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/schema/qxsdcomplextype.cpp')
-rw-r--r--src/xmlpatterns/schema/qxsdcomplextype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlpatterns/schema/qxsdcomplextype.cpp b/src/xmlpatterns/schema/qxsdcomplextype.cpp
index 32e420a382..fe97f0435f 100644
--- a/src/xmlpatterns/schema/qxsdcomplextype.cpp
+++ b/src/xmlpatterns/schema/qxsdcomplextype.cpp
@@ -130,12 +130,12 @@ QString XsdComplexType::displayName(const NamePool::Ptr &np) const
void XsdComplexType::setWxsSuperType(const SchemaType::Ptr &type)
{
- m_superType = type;
+ m_superType = type.data();
}
SchemaType::Ptr XsdComplexType::wxsSuperType() const
{
- return m_superType;
+ return SchemaType::Ptr(m_superType);
}
void XsdComplexType::setContext(const NamedSchemaComponent::Ptr &component)