From b42c5a7809b8ca9eaef757897215b3225bce8056 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 5 Dec 2014 18:35:34 +0100 Subject: loplugin:cstylecast, involving pointer to incomplete type Change-Id: I4b892790a16892396252467b3f3c31240b2f64e8 --- sd/source/ui/view/drawview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/view/drawview.cxx') 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 ) -- cgit