summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/SdUnoOutlineView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/SdUnoOutlineView.cxx')
-rw-r--r--sd/source/ui/unoidl/SdUnoOutlineView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/SdUnoOutlineView.cxx b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
index 1449026e967c..3ad8b504486f 100644
--- a/sd/source/ui/unoidl/SdUnoOutlineView.cxx
+++ b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
@@ -127,7 +127,7 @@ Any SAL_CALL SdUnoOutlineView::getFastPropertyValue (
{
case DrawController::PROPERTY_CURRENTPAGE:
{
- SdPage* pPage = const_cast<OutlineViewShell&>(mrOutlineViewShell).GetActualPage();
+ SdPage* pPage = mrOutlineViewShell.GetActualPage();
if (pPage != nullptr)
aValue <<= pPage->getUnoPage();
}