summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximpnote.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2000-12-13 18:16:42 +0000
committerChristian Lippka <cl@openoffice.org>2000-12-13 18:16:42 +0000
commit38868cce5ec853d4bb242c9bff2695e659da6353 (patch)
treeadc872f6acf1f2d90dd2d9dadcbad531ee304ed7 /xmloff/source/draw/ximpnote.cxx
parent5fb34d9ceb8bdb374e796cc44261553f85c80071 (diff)
#80699# reworked shape id creation and fixed import for all shapes
Diffstat (limited to 'xmloff/source/draw/ximpnote.cxx')
-rw-r--r--xmloff/source/draw/ximpnote.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/xmloff/source/draw/ximpnote.cxx b/xmloff/source/draw/ximpnote.cxx
index 7c8a92502791..1cb2256b1e54 100644
--- a/xmloff/source/draw/ximpnote.cxx
+++ b/xmloff/source/draw/ximpnote.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpnote.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: cl $ $Date: 2000-12-11 08:00:05 $
+ * last change: $Author: cl $ $Date: 2000-12-13 19:13:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -78,7 +78,7 @@ SdXMLNotesContext::SdXMLNotesContext( SdXMLImport& rImport,
USHORT nPrfx, const OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
uno::Reference< drawing::XShapes >& rShapes)
-: SdXMLGroupShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes ),
+: SdXMLGenericPageContext( rImport, nPrfx, rLocalName, xAttrList, rShapes ),
mbNotesMode(FALSE)
{
if(GetSdImport().IsImpress())
@@ -144,7 +144,7 @@ SvXMLImportContext *SdXMLNotesContext::CreateChildContext( USHORT nPrefix,
// call parent when no own context was created
if(!pContext)
- pContext = SdXMLGroupShapeContext::CreateChildContext(nPrefix, rLocalName, xAttrList);
+ pContext = SdXMLGenericPageContext::CreateChildContext(nPrefix, rLocalName, xAttrList);
return pContext;
}
@@ -159,8 +159,7 @@ SvXMLImportContext *SdXMLNotesContext::CreateChildContext( USHORT nPrefix,
void SdXMLNotesContext::EndElement()
{
- SdXMLGroupShapeContext::EndElement();
- GetImport().GetShapeImport()->restoreConnections();
+ SdXMLGenericPageContext::EndElement();
}