diff options
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/shapes/viewappletshape.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/shapes/viewappletshape.cxx b/slideshow/source/engine/shapes/viewappletshape.cxx index c9de11fb34fd..3f13d2259633 100644 --- a/slideshow/source/engine/shapes/viewappletshape.cxx +++ b/slideshow/source/engine/shapes/viewappletshape.cxx @@ -184,8 +184,8 @@ namespace slideshow uno::Reference< awt::XWindow > xSurroundingWindow( mxFrame->getContainerWindow() ); if( xSurroundingWindow.is() ) - xSurroundingWindow->setPosSize( static_cast<sal_Int32>(rPixelBounds.getMinX()), - static_cast<sal_Int32>(rPixelBounds.getMinY()), + xSurroundingWindow->setPosSize( rPixelBounds.getMinX(), + rPixelBounds.getMinY(), static_cast<sal_Int32>(rPixelBounds.getWidth()), static_cast<sal_Int32>(rPixelBounds.getHeight()), awt::PosSize::POSSIZE ); @@ -250,8 +250,8 @@ namespace slideshow uno::Reference< awt::XWindow > xFrameWindow( mxFrame->getContainerWindow() ); if( xFrameWindow.is() ) - xFrameWindow->setPosSize( static_cast<sal_Int32>(rPixelBounds.getMinX()), - static_cast<sal_Int32>(rPixelBounds.getMinY()), + xFrameWindow->setPosSize( rPixelBounds.getMinX(), + rPixelBounds.getMinY(), static_cast<sal_Int32>(rPixelBounds.getWidth()), static_cast<sal_Int32>(rPixelBounds.getHeight()), awt::PosSize::POSSIZE ); |