diff options
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r-- | svx/source/svdraw/MediaShellHelpers.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/MediaShellHelpers.cxx b/svx/source/svdraw/MediaShellHelpers.cxx index 4ea2f2325c2d..752a6882c038 100644 --- a/svx/source/svdraw/MediaShellHelpers.cxx +++ b/svx/source/svdraw/MediaShellHelpers.cxx @@ -29,7 +29,7 @@ namespace svx::MediaShellHelpers { -void GetState(SdrMarkView* pSdrView, SfxItemSet& rSet) +void GetState(const SdrMarkView* pSdrView, SfxItemSet& rSet) { if (!pSdrView) return; @@ -64,7 +64,7 @@ void GetState(SdrMarkView* pSdrView, SfxItemSet& rSet) } } -const ::avmedia::MediaItem* Execute(SdrMarkView* pSdrView, SfxRequest const& rReq) +const ::avmedia::MediaItem* Execute(const SdrMarkView* pSdrView, SfxRequest const& rReq) { if (!pSdrView) return nullptr; diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 3ae23ab2b478..3a9fa3970cb8 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -706,7 +706,7 @@ void SdrPaintView::EndDrawLayers(SdrPaintWindow& rPaintWindow, bool bPaintFormLa } } -void SdrPaintView::UpdateDrawLayersRegion(OutputDevice* pOut, const vcl::Region& rReg) +void SdrPaintView::UpdateDrawLayersRegion(const OutputDevice* pOut, const vcl::Region& rReg) { SdrPaintWindow* pPaintWindow = FindPaintWindow(*pOut); OSL_ENSURE(pPaintWindow, "SdrPaintView::UpdateDrawLayersRegion: No SdrPaintWindow (!)"); @@ -724,7 +724,7 @@ void SdrPaintView::UpdateDrawLayersRegion(OutputDevice* pOut, const vcl::Region& } } -vcl::Region SdrPaintView::OptimizeDrawLayersRegion(OutputDevice* pOut, const vcl::Region& rReg, bool bDisableIntersect) +vcl::Region SdrPaintView::OptimizeDrawLayersRegion(const OutputDevice* pOut, const vcl::Region& rReg, bool bDisableIntersect) { // #i74769# check if pOut is a win and has a ClipRegion. If Yes, the Region // rReg may be made more granular (fine) with using it. Normally, rReg |