diff options
author | obo <obo@openoffice.org> | 2010-06-21 13:45:10 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-21 13:45:10 +0200 |
commit | 70067cc8bc27b695b1c5ad70c7e7844de676b178 (patch) | |
tree | 08454eaf6b32c4a8ef1b25b9907e40999b07bc50 /oox | |
parent | fbe60754d1283a3a11307446af0ec0f8011d1af2 (diff) | |
parent | f4ff011499a56fe01a39a60817e9c4d2ce8d039e (diff) |
CWS-TOOLING: integrate CWS cbosdo03
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/shape/ShapeContextHandler.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx index 05734b65e2a7..e253d43e56e7 100644 --- a/oox/source/shape/ShapeContextHandler.cxx +++ b/oox/source/shape/ShapeContextHandler.cxx @@ -31,11 +31,6 @@ #include "oox/vml/vmlshapecontainer.hxx" #include "tokens.hxx" -#if DEBUG -#include <iostream> -using namespace std; -#endif - namespace oox { namespace shape { using namespace ::com::sun::star; @@ -93,9 +88,6 @@ ShapeContextHandler::getGraphicShapeContext(::sal_Int32 Element ) uno::Reference<xml::sax::XFastContextHandler> ShapeContextHandler::getDrawingShapeContext() { -#if DEBUG - clog << "ShapeContextHandler::getDrawingShapeContext" << endl; -#endif if (!mxDrawingFragmentHandler.is()) { mpDrawing.reset( new oox::vml::Drawing( *mxFilterBase, mxDrawPage, oox::vml::VMLDRAWING_WORD ) ); @@ -186,9 +178,6 @@ ShapeContextHandler::createFastChildContext const uno::Reference< xml::sax::XFastAttributeList > & Attribs) throw (uno::RuntimeException, xml::sax::SAXException) { -#if DEBUG - clog << "ShapeContextHandler::createFastChildContext" << endl; -#endif uno::Reference< xml::sax::XFastContextHandler > xResult; uno::Reference< xml::sax::XFastContextHandler > xContextHandler(getContextHandler()); @@ -243,6 +232,7 @@ ShapeContextHandler::getShape() throw (uno::RuntimeException) { mpShape->addShape(*mxFilterBase, mpThemePtr.get(), xShapes); xResult.set(mpShape->getXShape()); + mxGraphicShapeContext.clear( ); } } |