summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/inc/slideshow.hxx3
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx2
-rw-r--r--sd/source/ui/view/drawview.cxx2
3 files changed, 4 insertions, 3 deletions
diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx
index fda3d8a2da9b..2a35f130e31f 100644
--- a/sd/source/ui/inc/slideshow.hxx
+++ b/sd/source/ui/inc/slideshow.hxx
@@ -46,6 +46,7 @@ namespace com { namespace sun { namespace star {
class SdDrawDocument;
class KeyEvent;
+class OutputDevice;
class Size;
class Rectangle;
namespace vcl { class Window; }
@@ -158,7 +159,7 @@ public:
// settings
bool isFullScreen(); // a.k.a. FuSlideShow::IsFullScreen()
bool isAlwaysOnTop(); // a.k.a. FuSlideShow::IsAlwaysOnTop();
- ShowWindow* getShowWindow(); // a.k.a. FuSlideShow::GetShowWindow()
+ OutputDevice* getShowWindow(); // a.k.a. FuSlideShow::GetShowWindow()
int getAnimationMode(); // a.k.a. FuSlideShow::GetAnimationMode()
sal_Int32 getCurrentPageNumber(); // a.k.a. FuSlideShow::GetCurrentPage()
sal_Int32 getFirstPageNumber();
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index 85ac816c667b..dcb5dbc22f1f 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -925,7 +925,7 @@ bool SlideShow::startPreview( const Reference< XDrawPage >& xDrawPage, const Ref
return true;
}
-ShowWindow* SlideShow::getShowWindow()
+OutputDevice* SlideShow::getShowWindow()
{
return mxController.is() ? mxController->mpShowWindow : 0;
}
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx
index 131db8b92de6..b2b2d7822a02 100644
--- a/sd/source/ui/view/drawview.cxx
+++ b/sd/source/ui/view/drawview.cxx
@@ -471,7 +471,7 @@ void DrawView::CompleteRedraw(OutputDevice* pOutDev, const vcl::Region& rReg, sd
rtl::Reference< sd::SlideShow > xSlideshow( SlideShow::GetSlideShow( pDoc ) );
if(xSlideshow.is() && xSlideshow->isRunning())
{
- OutputDevice* pShowWindow = ( OutputDevice* )xSlideshow->getShowWindow();
+ OutputDevice* pShowWindow = xSlideshow->getShowWindow();
if( (pShowWindow == pOutDev) || (xSlideshow->getAnimationMode() == ANIMATIONMODE_PREVIEW) )
{
if( pShowWindow == pOutDev )