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 | a29fc40e183e186b34633cbf946b23327ba2d4ea (patch) | |
tree | 6e0022b6e8fd1ef4c1c4d8129a26d0efd8f2a7f2 | |
parent | a8861f84f9ee3131d870fb61e655655075339dfb (diff) |
DEV300 masterfix: #i10000#: move registering of namespace http://.../chartDrawing to the appropriate placeooo/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 37a5feaef..ec4687fc2 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; |