diff options
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/view/drviews7.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index c144cf9ea251..51bcc0a2388c 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -711,9 +711,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) { const SdrGrafObj* pSdrGrafObj = dynamic_cast< const SdrGrafObj* >(mpDrawView->GetMarkedObjectByIndex(0)); - if(pSdrGrafObj && pSdrGrafObj->isEmbeddedSvg()) + if(pSdrGrafObj && pSdrGrafObj->isEmbeddedVectorGraphicData()) { - aGraphic = Graphic(pSdrGrafObj->GetGraphic().getSvgData()->getReplacement()); + aGraphic = Graphic(pSdrGrafObj->GetGraphic().getVectorGraphicData()->getReplacement()); bDone = true; } } @@ -2362,9 +2362,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) { nCount += pGraf->GetGraphic().GetGDIMetaFile().GetActionSize(); } - else if(pGraf->isEmbeddedSvg()) + else if(pGraf->isEmbeddedVectorGraphicData()) { - nCount += pGraf->getMetafileFromEmbeddedSvg().GetActionSize(); + nCount += pGraf->getMetafileFromEmbeddedVectorGraphicData().GetActionSize(); } } diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx index d829639e0bae..3feab2fe0b0e 100644 --- a/sd/source/ui/view/drviews7.cxx +++ b/sd/source/ui/view/drviews7.cxx @@ -1387,7 +1387,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet ) { case GraphicType::Bitmap : bFoundBitmap = true; - if(pSdrGrafObj->isEmbeddedSvg()) + if(pSdrGrafObj->isEmbeddedVectorGraphicData()) { bFoundMetafile = true; } diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 0e6be246b0f8..d634fa8d4d80 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -1015,7 +1015,7 @@ bool View::IsVectorizeAllowed() const if(pObj) { - if(GraphicType::Bitmap == pObj->GetGraphicType() && !pObj->isEmbeddedSvg()) + if(GraphicType::Bitmap == pObj->GetGraphicType() && !pObj->isEmbeddedVectorGraphicData()) { bRet = true; } |