diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:27:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:27:50 +0200 |
commit | 04b9ff9a8842bc23306c38f9bd1af7cd941d0eb8 (patch) | |
tree | 6b0beb6b27ce6b7441d70b5702f6d3dcffbacff2 /sd/source/ui/view/drviewse.cxx | |
parent | 9e1e8858d12ab76ce928b1f499e2de210a6e443d (diff) |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Ic77431126be9259bf6381243d1ee682d687c493e
Diffstat (limited to 'sd/source/ui/view/drviewse.cxx')
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index d7bc78f8b75a..516f4877852f 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -338,7 +338,7 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq) )->Execute() == RET_YES ) { // implicit transformation into bezier - WaitObject aWait( (Window*)GetActiveWindow() ); + WaitObject aWait( GetActiveWindow() ); mpDrawView->ConvertMarkedToPathObj(false); } } @@ -375,7 +375,7 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq) )->Execute() == RET_YES ) { // implicit transformation into bezier - WaitObject aWait( (Window*)GetActiveWindow() ); + WaitObject aWait( GetActiveWindow() ); mpDrawView->ConvertMarkedToPathObj(false); } } @@ -853,7 +853,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq) case SID_PASTE: { - WaitObject aWait( (Window*)GetActiveWindow() ); + WaitObject aWait( GetActiveWindow() ); if(HasCurrentFunction()) { @@ -870,7 +870,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq) case SID_PASTE_UNFORMATTED: { - WaitObject aWait( (Window*)GetActiveWindow() ); + WaitObject aWait( GetActiveWindow() ); if(HasCurrentFunction()) { @@ -894,7 +894,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq) case SID_CLIPBOARD_FORMAT_ITEMS: { - WaitObject aWait( (Window*)GetActiveWindow() ); + WaitObject aWait( GetActiveWindow() ); TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( GetActiveWindow() ) ); const SfxItemSet* pReqArgs = rReq.GetArgs(); SotClipboardFormatId nFormat = SotClipboardFormatId::NONE; |