diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 07:54:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:17:58 +0200 |
commit | 8301695f8fd16338128261b1edbf60852f2d0a68 (patch) | |
tree | 19993811a261eda86504ef76e205d29eae1e8b12 /sdext | |
parent | 7e6bae9b1fbf75ca67f432f7bc78dd503600fb86 (diff) |
Improved loplugin:redundantcast, const/static_cast combinations: sdext
Change-Id: I253b0481f3ca9c2d9c45453acfa3d1702e6d701a
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterController.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterHelpView.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterProtocolHandler.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterScreen.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterSlideSorter.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index 5be87954b681..cf65f8d7e65c 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -725,7 +725,7 @@ void SAL_CALL PresenterController::notifyConfigurationChange ( { throw lang::DisposedException ( "PresenterController object has already been disposed", - const_cast<uno::XWeak*>(static_cast<const uno::XWeak*>(this))); + static_cast<uno::XWeak*>(this)); } sal_Int32 nType (0); diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx index 6ed5f744afe5..531c6cb979f5 100644 --- a/sdext/source/presenter/PresenterHelpView.cxx +++ b/sdext/source/presenter/PresenterHelpView.cxx @@ -499,7 +499,7 @@ void PresenterHelpView::ThrowIfDisposed() { throw lang::DisposedException ( "PresenterHelpView has been already disposed", - const_cast<uno::XWeak*>(static_cast<const uno::XWeak*>(this))); + static_cast<uno::XWeak*>(this)); } } diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index f913c34bab14..93830880e5b7 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -432,7 +432,7 @@ void SAL_CALL PresenterProtocolHandler::Dispatch::dispatch( { throw lang::DisposedException ( "PresenterProtocolHandler::Dispatch object has already been disposed", - const_cast<uno::XWeak*>(static_cast<const uno::XWeak*>(this))); + static_cast<uno::XWeak*>(this)); } if (rURL.Protocol == "vnd.org.libreoffice.presenterscreen:" diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx index 1739468f360f..f385dfbc2114 100644 --- a/sdext/source/presenter/PresenterScreen.cxx +++ b/sdext/source/presenter/PresenterScreen.cxx @@ -211,7 +211,7 @@ void SAL_CALL PresenterScreenListener::notifyEvent( const css::document::EventOb { throw lang::DisposedException ( "PresenterScreenListener object has already been disposed", - const_cast<uno::XWeak*>(static_cast<const uno::XWeak*>(this))); + static_cast<uno::XWeak*>(this)); } if ( Event.EventName == "OnStartPresentation" ) diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index 7953b2b560cc..d79454ebb1f8 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -1095,7 +1095,7 @@ void PresenterSlideSorter::ThrowIfDisposed() { throw lang::DisposedException ( "PresenterSlideSorter has been already disposed", - const_cast<uno::XWeak*>(static_cast<const uno::XWeak*>(this))); + static_cast<uno::XWeak*>(this)); } } |