summaryrefslogtreecommitdiff
path: root/oox/source/vml
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-02 10:58:02 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-02 10:58:02 +0000
commit8830102c73fb8561500e335befecd6ff34f83984 (patch)
tree3e90131dbf4783c025e3bf9e2ca4b530c5792899 /oox/source/vml
parent0a1fa25bcb1e2a80916dd606b9a0a3d036954793 (diff)
INTEGRATION: CWS impress145 (1.5.10); FILE MERGED
2008/06/19 13:31:46 sj 1.5.10.1: #i90885# fixed import of ole placeholder graphics
Diffstat (limited to 'oox/source/vml')
-rw-r--r--oox/source/vml/vmldrawingfragmenthandler.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/oox/source/vml/vmldrawingfragmenthandler.cxx b/oox/source/vml/vmldrawingfragmenthandler.cxx
index 334be7dfa674..28e0eebb5e1c 100644
--- a/oox/source/vml/vmldrawingfragmenthandler.cxx
+++ b/oox/source/vml/vmldrawingfragmenthandler.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: vmldrawingfragmenthandler.cxx,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -501,7 +501,9 @@ DrawingFragmentHandler::~DrawingFragmentHandler()
Reference< XFastContextHandler > DrawingFragmentHandler::createFastChildContext( sal_Int32 aElementToken, const Reference< XFastAttributeList >& xAttribs )
throw (SAXException, RuntimeException)
{
- return StaticCreateContext( *this, aElementToken, xAttribs, mrShapes, mrShapeTypes );
+ return aElementToken == XML_xml
+ ? getFastContextHandler()
+ : StaticCreateContext( *this, aElementToken, xAttribs, mrShapes, mrShapeTypes );
}
void SAL_CALL DrawingFragmentHandler::endDocument()