Kaydet (Commit) 883d4be1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improved loplugin:redundantcast const_cast handling: sd

Change-Id: I3a34d9192ff405ee14df0f9b6c40ead80faa1738
üst 434ccf73
...@@ -127,7 +127,7 @@ Any SAL_CALL SdUnoOutlineView::getFastPropertyValue ( ...@@ -127,7 +127,7 @@ Any SAL_CALL SdUnoOutlineView::getFastPropertyValue (
{ {
case DrawController::PROPERTY_CURRENTPAGE: case DrawController::PROPERTY_CURRENTPAGE:
{ {
SdPage* pPage = const_cast<OutlineViewShell&>(mrOutlineViewShell).GetActualPage(); SdPage* pPage = mrOutlineViewShell.GetActualPage();
if (pPage != nullptr) if (pPage != nullptr)
aValue <<= pPage->getUnoPage(); aValue <<= pPage->getUnoPage();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment