diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-04-19 17:52:43 +0200 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-04-19 17:52:43 +0200 |
commit | 17e7675fe6fccf5a0f084bb9f7bceb4f663f8e3b (patch) | |
tree | 9e1612c04faf61ea0f618ee654c5b7324b73812d | |
parent | 1cf307ac575592b7d0cf2fefa8fbff758864f70e (diff) |
DEV300 masterfix: #i10000#: move registering of namespace http://.../chartDrawing to the appropriate place
Notes
split repo tag: filters_ooo/DEV300_m77
-rw-r--r-- | oox/source/core/xmlfilterbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx index 33e8d4c1d03b..87faadd7a9ce 100644 --- a/oox/source/core/xmlfilterbase.cxx +++ b/oox/source/core/xmlfilterbase.cxx @@ -139,6 +139,7 @@ XmlFilterBase::XmlFilterBase( const Reference< XMultiServiceFactory >& rxGlobalF mxImpl->mxFastParser->registerNamespace( CREATE_OUSTRING( "http://schemas.openxmlformats.org/drawingml/2006/main" ), NMSP_DRAWINGML ); mxImpl->mxFastParser->registerNamespace( CREATE_OUSTRING( "http://schemas.openxmlformats.org/drawingml/2006/diagram" ), NMSP_DIAGRAM ); mxImpl->mxFastParser->registerNamespace( CREATE_OUSTRING( "http://schemas.openxmlformats.org/drawingml/2006/chart" ), NMSP_CHART ); + mxImpl->mxFastParser->registerNamespace( CREATE_OUSTRING( "http://schemas.openxmlformats.org/drawingml/2006/chartDrawing" ), NMSP_CDR ); mxImpl->mxFastParser->registerNamespace( CREATE_OUSTRING( "urn:schemas-microsoft-com:vml" ), NMSP_VML ); mxImpl->mxFastParser->registerNamespace( CREATE_OUSTRING( "urn:schemas-microsoft-com:office:office" ), NMSP_OFFICE ); @@ -222,7 +223,6 @@ bool XmlFilterBase::importFragment( const ::rtl::Reference< FragmentHandler >& r // try to open the fragment stream (this may fail - do not assert) Reference< XInputStream > xInStrm( rxHandler->openFragmentStream(), UNO_SET_THROW ); - xParser->registerNamespace( CREATE_OUSTRING( "http://schemas.openxmlformats.org/drawingml/2006/chartDrawing" ), NMSP_CDR ); // create the input source and parse the stream InputSource aSource; aSource.aInputStream = xInStrm; |