summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2000-10-26 08:59:25 +0000
committerChristian Lippka <cl@openoffice.org>2000-10-26 08:59:25 +0000
commit2e3656c0f9b0ef4f998857a9644ac0a8c06ae095 (patch)
tree07afdbf104accdbdf5d8c9f60cfa0051a92b65f5
parent90d3c1fdfe7a3abfe960d0cc569a9a1f7694a373 (diff)
#79618# chart import context fixed
-rw-r--r--xmloff/source/draw/ximpshap.cxx16
-rw-r--r--xmloff/source/draw/ximpshap.hxx7
2 files changed, 15 insertions, 8 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 8d39ee86928a..7dba70aa01c9 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpshap.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:07:03 $
+ * last change: $Author: cl $ $Date: 2000-10-26 09:59:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1508,8 +1508,6 @@ SdXMLChartShapeContext::SdXMLChartShapeContext(
awt::Size aSize(mnWidth, mnHeight);
xShape->setPosition(aPoint);
xShape->setSize(aSize);
-
- SdXMLChartShapeContext::StartElement(xAttrList);
}
}
@@ -1538,7 +1536,15 @@ void SdXMLChartShapeContext::EndElement()
void SdXMLChartShapeContext::Characters( const ::rtl::OUString& rChars )
{
if( mpChartContext )
- mpChartContext->EndElement();
+ mpChartContext->Characters( rChars );
}
+SvXMLImportContext * SdXMLChartShapeContext::CreateChildContext( USHORT nPrefix, const ::rtl::OUString& rLocalName,
+ const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList )
+{
+ if( mpChartContext )
+ return mpChartContext->CreateChildContext( nPrefix, rLocalName, xAttrList );
+
+ return NULL;
+}
diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx
index dd7079d4e1e3..c575e9a5ff55 100644
--- a/xmloff/source/draw/ximpshap.hxx
+++ b/xmloff/source/draw/ximpshap.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpshap.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:07:03 $
+ * last change: $Author: cl $ $Date: 2000-10-26 09:59:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -389,7 +389,8 @@ public:
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
virtual void EndElement();
virtual void Characters( const ::rtl::OUString& rChars );
-
+ virtual SvXMLImportContext * CreateChildContext( USHORT nPrefix, const ::rtl::OUString& rLocalName,
+ const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList );
};
#endif // _XIMPSHAPE_HXX