summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/schema/qxsdattribute.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-05-10 13:14:16 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2011-05-10 13:14:16 (GMT)
commitbaecfbc7f7e0ec7edddb74a2e760c685977e9084 (patch)
treef9071063e3b8dfcc1b2fcb3236be84fce5b17091 /src/xmlpatterns/schema/qxsdattribute.cpp
parentbde58ad1e7d2b38d2882aaf869e93b0415128836 (diff)
parentf3ddd2d995b7485cdc1c3420d254499904ff9dd9 (diff)
downloadQt-baecfbc7f7e0ec7edddb74a2e760c685977e9084.zip
Qt-baecfbc7f7e0ec7edddb74a2e760c685977e9084.tar.gz
Qt-baecfbc7f7e0ec7edddb74a2e760c685977e9084.tar.bz2
Merge remote branch 'qt/4.8' into master-qml-staging
Conflicts: src/declarative/debugger/qdeclarativedebugserver.cpp src/plugins/qmltooling/qmltooling.pro
Diffstat (limited to 'src/xmlpatterns/schema/qxsdattribute.cpp')
-rw-r--r--src/xmlpatterns/schema/qxsdattribute.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlpatterns/schema/qxsdattribute.cpp b/src/xmlpatterns/schema/qxsdattribute.cpp
index 68f9e3d..fb768d4 100644
--- a/src/xmlpatterns/schema/qxsdattribute.cpp
+++ b/src/xmlpatterns/schema/qxsdattribute.cpp
@@ -59,12 +59,12 @@ XsdAttribute::Scope::Variety XsdAttribute::Scope::variety() const
void XsdAttribute::Scope::setParent(const NamedSchemaComponent::Ptr &parent)
{
- m_parent = parent;
+ m_parent = parent.data();
}
NamedSchemaComponent::Ptr XsdAttribute::Scope::parent() const
{
- return m_parent;
+ return NamedSchemaComponent::Ptr(m_parent);
}
void XsdAttribute::ValueConstraint::setVariety(Variety variety)