diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 06a91d3df357..32c02cc5423f 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1804,14 +1804,15 @@ drawinglayer::primitive2d::Primitive2DContainer ImplRenderPaintProc::createRedir // embed Primitive2DSequence in a structure tag element for // exactly this purpose (StructureTagPrimitive2D) - //Z const SdrPage* pSdrPage(pObject->getSdrPageFromSdrObject()); const bool bBackground(nullptr != pSdrPage && pSdrPage->IsMasterPage()); + const bool bImage(pObject->GetObjIdentifier() == OBJ_GRAF); const drawinglayer::primitive2d::Primitive2DReference xReference( new drawinglayer::primitive2d::StructureTagPrimitive2D( eElement, bBackground, + bImage, xRetval)); xRetval = drawinglayer::primitive2d::Primitive2DContainer { xReference }; |