#include <XmlObjMgt_Document.hxx>
#include <XmlObjMgt_Persistent.hxx>
+IMPLEMENT_STANDARD_RTTIEXT(XmlMFunction_ScopeDriver,XmlMDF_ADriver)
IMPLEMENT_DOMSTRING (LastIDIndex, "lastid")
IMPLEMENT_DOMSTRING (LastLabelIndex, "lastlabel")
XmlObjMgt_Element& anElement = theTarget;
anElement.setAttribute(::LastLabelIndex(), S->GetFunctions().Extent());
- XmlObjMgt_Document aDoc = anElement.getOwnerDocument().Doc();
+ XmlObjMgt_Document aDoc (anElement.getOwnerDocument());
for (itrd.Initialize(S->GetFunctions()); itrd.More(); itrd.Next())
{