summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-02 13:31:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-02 13:31:20 +0200
commit883d4be1615458d1ce7bb7bd102f244b068119dc (patch)
treee6b4b581346d5910e725e73cfdce70d0ddb0b264 /sd
parent434ccf734addc8f26b955bcc418fe3047e0cfdfc (diff)
Improved loplugin:redundantcast const_cast handling: sd
Change-Id: I3a34d9192ff405ee14df0f9b6c40ead80faa1738
Diffstat (limited to 'sd')
-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();
}