summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/draw/ximpbody.cxx12
-rw-r--r--xmloff/source/draw/ximpbody.hxx6
-rw-r--r--xmloff/source/draw/ximpnote.cxx5
-rw-r--r--xmloff/source/draw/ximpstyl.cxx5
4 files changed, 18 insertions, 10 deletions
diff --git a/xmloff/source/draw/ximpbody.cxx b/xmloff/source/draw/ximpbody.cxx
index eab6ca47a471..7881fa388949 100644
--- a/xmloff/source/draw/ximpbody.cxx
+++ b/xmloff/source/draw/ximpbody.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpbody.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: cl $ $Date: 2000-12-05 23:12:05 $
+ * last change: $Author: cl $ $Date: 2000-12-11 08:00:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -341,6 +341,12 @@ SvXMLImportContext *SdXMLDrawPageContext::CreateChildContext( USHORT nPrefix,
return pContext;
}
+void SdXMLDrawPageContext::EndElement()
+{
+ SdXMLGroupShapeContext::EndElement();
+ GetImport().GetShapeImport()->restoreConnections();
+}
+
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
@@ -408,5 +414,3 @@ SvXMLImportContext *SdXMLBodyContext::CreateChildContext(
return pContext;
}
-
-
diff --git a/xmloff/source/draw/ximpbody.hxx b/xmloff/source/draw/ximpbody.hxx
index 86e58929381a..a546905e7c53 100644
--- a/xmloff/source/draw/ximpbody.hxx
+++ b/xmloff/source/draw/ximpbody.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpbody.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: cl $ $Date: 2000-12-05 23:25:41 $
+ * last change: $Author: cl $ $Date: 2000-12-11 08:00:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -101,6 +101,8 @@ public:
virtual SvXMLImportContext *CreateChildContext(
USHORT nPrefix, const rtl::OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList );
+ virtual void EndElement();
+
};
//////////////////////////////////////////////////////////////////////////////
diff --git a/xmloff/source/draw/ximpnote.cxx b/xmloff/source/draw/ximpnote.cxx
index 513b7869229a..7c8a92502791 100644
--- a/xmloff/source/draw/ximpnote.cxx
+++ b/xmloff/source/draw/ximpnote.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpnote.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: cl $ $Date: 2000-11-23 18:27:34 $
+ * last change: $Author: cl $ $Date: 2000-12-11 08:00:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -160,6 +160,7 @@ SvXMLImportContext *SdXMLNotesContext::CreateChildContext( USHORT nPrefix,
void SdXMLNotesContext::EndElement()
{
SdXMLGroupShapeContext::EndElement();
+ GetImport().GetShapeImport()->restoreConnections();
}
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index d9a7bc044cb4..d446422aa994 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpstyl.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: cl $ $Date: 2000-12-07 19:28:05 $
+ * last change: $Author: cl $ $Date: 2000-12-11 08:00:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -760,6 +760,7 @@ void SdXMLMasterPageContext::EndElement()
}
SdXMLGroupShapeContext::EndElement();
+ GetImport().GetShapeImport()->restoreConnections();
}
//////////////////////////////////////////////////////////////////////////////