diff options
Diffstat (limited to 'slideshow/source/engine/slide/userpaintoverlay.cxx')
-rw-r--r-- | slideshow/source/engine/slide/userpaintoverlay.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/slide/userpaintoverlay.cxx b/slideshow/source/engine/slide/userpaintoverlay.cxx index 788a9bd28cf4..d19bd7a3056e 100644 --- a/slideshow/source/engine/slide/userpaintoverlay.cxx +++ b/slideshow/source/engine/slide/userpaintoverlay.cxx @@ -145,7 +145,7 @@ namespace slideshow //get via SlideImpl instance the bitmap of the slide unmodified to redraw it SlideBitmapSharedPtr pBitmap( mrSlide.getCurrentSlideBitmap( (*aIter) ) ); - css::uno::Reference< css::rendering::XCanvas > pCanvas( (*aIter)->getCanvas() ); + css::uno::Reference< css::rendering::XCanvas > pCanvas( (*aIter)->getCanvas().mxCanvas ); const ::basegfx::B2DHomMatrix aViewTransform( (*aIter)->getTransformation() ); const ::basegfx::B2DPoint aOutPosPixel( aViewTransform * ::basegfx::B2DPoint() ); @@ -374,7 +374,7 @@ namespace slideshow //get via SlideImpl instance the bitmap of the slide unmodified to redraw it SlideBitmapSharedPtr pBitmap( mrSlide.getCurrentSlideBitmap( (*aIter) ) ); - css::uno::Reference< css::rendering::XCanvas > pCanvas( (*aIter)->getCanvas() ); + css::uno::Reference< css::rendering::XCanvas > pCanvas( (*aIter)->getCanvas().mxCanvas ); ::basegfx::B2DHomMatrix aViewTransform( (*aIter)->getTransformation() ); const ::basegfx::B2DPoint aOutPosPixel( aViewTransform * ::basegfx::B2DPoint() ); @@ -425,7 +425,7 @@ namespace slideshow { uno::Reference< rendering::XPolyPolygon2D > pPolyPoly( basegfx::unotools::xPolyPolygonFromB2DPolygon( - (*aIter)->getCanvas()->getDevice(), + (*aIter)->getCanvas().mxCanvas->getDevice(), aPoly ) ); if( pPolyPoly.is() ) |