summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/sdrpagewindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx
index bd839fa6dcef..9998c2fa5770 100644
--- a/svx/source/svdraw/sdrpagewindow.cxx
+++ b/svx/source/svdraw/sdrpagewindow.cxx
@@ -133,7 +133,7 @@ SdrPageWindow::~SdrPageWindow()
if (mpImpl->mxControlContainer.is())
{
- SdrView& rView = GetPageView().GetView();
+ auto & rView = static_cast<SdrPaintView &>(GetPageView().GetView());
// notify derived views
FmFormView* pViewAsFormView = dynamic_cast< FmFormView* >( &rView );