From eba4d5b2b76cefde90cb3d6638c736f435023a45 Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Fri, 6 Apr 2018 22:32:24 +0200 Subject: Revert "SOSAW080: Added first bunch of basic changes to helpers" This reverts commit 6c14c27c75a03e2363f2b363ddf0a6f2f46cfa91. --- sw/source/filter/ww8/wrtw8esh.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sw/source/filter/ww8/wrtw8esh.cxx') diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index c27173b1fc0d..7406f153a67f 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -2966,8 +2966,10 @@ void SwEscherEx::WriteOCXControl( const SwFrameFormat& rFormat, sal_uInt32 nShap // #i71538# use complete SdrViews // SdrExchangeView aExchange(pModel, pDevice); - SdrView aExchange(*pModel, pDevice); - const Graphic aGraphic(SdrExchangeView::GetObjGraphic(*pSdrObj)); + SdrView aExchange(pModel, pDevice); + + Graphic aGraphic(SdrExchangeView::GetObjGraphic(pModel, pSdrObj)); + EscherPropertyContainer aPropOpt; WriteOLEPicture(aPropOpt, ShapeFlag::HaveAnchor | ShapeFlag::HaveShapeProperty | ShapeFlag::OLEShape, aGraphic, -- cgit v1.2.3