summaryrefslogtreecommitdiff
path: root/oox/source/shape
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-04-22 17:14:36 +0200
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-04-22 17:14:36 +0200
commit2f411e16ce9f9aacc428528d3a5bffc3bd20978a (patch)
treefa33f496fbedc43d991502af9c09413e73e75318 /oox/source/shape
parent1fc65a6e2ec37bfc643538c30bdf16dec98838b7 (diff)
parent17e7675fe6fccf5a0f084bb9f7bceb4f663f8e3b (diff)
cbosdo03: merge with DEV300_m77
Diffstat (limited to 'oox/source/shape')
-rw-r--r--oox/source/shape/ShapeContextHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx
index 1367383049f1..21258999d327 100644
--- a/oox/source/shape/ShapeContextHandler.cxx
+++ b/oox/source/shape/ShapeContextHandler.cxx
@@ -69,7 +69,7 @@ ShapeContextHandler::getGraphicShapeContext(::sal_Int32 Element )
case XML_graphic:
mpShape.reset(new Shape("com.sun.star.drawing.OLE2Shape" ));
mxGraphicShapeContext.set
- (new GraphicalObjectFrameContext(*rFragmentHandler, pMasterShape, mpShape));
+ (new GraphicalObjectFrameContext(*rFragmentHandler, pMasterShape, mpShape, true));
break;
case XML_pic:
mpShape.reset(new Shape("com.sun.star.drawing.GraphicObjectShape" ));
@@ -229,7 +229,7 @@ ShapeContextHandler::getShape() throw (uno::RuntimeException)
}
else if (mpShape.get() != NULL)
{
- mpShape->addShape(*mxFilterBase, mpThemePtr, xShapes);
+ mpShape->addShape(*mxFilterBase, mpThemePtr.get(), xShapes);
xResult.set(mpShape->getXShape());
mxGraphicShapeContext.clear( );
}