summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/contexts.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/contexts.cxx')
-rw-r--r--xmloff/source/chart/contexts.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmloff/source/chart/contexts.cxx b/xmloff/source/chart/contexts.cxx
index 8b8f2ee6d6f9..e3e3389e18d2 100644
--- a/xmloff/source/chart/contexts.cxx
+++ b/xmloff/source/chart/contexts.cxx
@@ -36,6 +36,7 @@
#include <xmloff/xmlmetai.hxx>
#include <xmloff/xmlstyle.hxx>
#include "SchXMLImport.hxx"
+#include "SchXMLCalculationSettingsContext.hxx"
// #ifndef _XMLOFF_XMLCHARTSTYLECONTEXT_HXX_
// #include "XMLChartStyleContext.hxx"
@@ -225,6 +226,12 @@ SvXMLImportContext* SchXMLBodyContext::CreateChildContext(
GetImport().GetModel(),
xAttrList );
}
+ else if(nPrefix == XML_NAMESPACE_TABLE &&
+ IsXMLToken( rLocalName, XML_CALCULATION_SETTINGS ))
+ {
+ // i99104 handle null date correctly
+ pContext = new SchXMLCalculationSettingsContext ( GetImport(), nPrefix, rLocalName, xAttrList);
+ }
else
{
pContext = SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, xAttrList );