diff options
Diffstat (limited to 'svx/source/svdraw/sdrpagewindow.cxx')
-rw-r--r-- | svx/source/svdraw/sdrpagewindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx index 8b03862b90b1..f62a81ab95e5 100644 --- a/svx/source/svdraw/sdrpagewindow.cxx +++ b/svx/source/svdraw/sdrpagewindow.cxx @@ -311,7 +311,7 @@ void SdrPageWindow::RedrawAll( sdr::contact::ViewObjectContactRedirector* pRedir // set PaintingPageView const SdrView& rView = mpImpl->mrPageView.GetView(); - SdrModel& rModel = *((SdrModel*)rView.GetModel()); + SdrModel& rModel = *(rView.GetModel()); // get to be processed layers const bool bPrinter(GetPaintWindow().OutputToPrinter()); @@ -363,7 +363,7 @@ void SdrPageWindow::RedrawLayer( const SdrLayerID* pId, sdr::contact::ViewObject // set PaintingPageView const SdrView& rView = mpImpl->mrPageView.GetView(); - SdrModel& rModel = *((SdrModel*)rView.GetModel()); + SdrModel& rModel = *(rView.GetModel()); // get the layers to process const bool bPrinter(GetPaintWindow().OutputToPrinter()); |