diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-24 10:40:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-25 10:09:52 +0200 |
commit | 88aaa3496161339d504876a2e84dc03e4d6191d9 (patch) | |
tree | 5ffc860b837f28737c85f182af1360d111fd3693 /sw/source/uibase/cctrl | |
parent | 1f1c7a4b0d582dffa920c7a51a55ea32c4d203fe (diff) |
loplugin: cstylecast
Change-Id: I0607afad59068e3d94494f971990fb45c2b79443
Diffstat (limited to 'sw/source/uibase/cctrl')
-rw-r--r-- | sw/source/uibase/cctrl/popbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/cctrl/popbox.cxx b/sw/source/uibase/cctrl/popbox.cxx index 4ebf98d738df..0711ca0eba6d 100644 --- a/sw/source/uibase/cctrl/popbox.cxx +++ b/sw/source/uibase/cctrl/popbox.cxx @@ -52,12 +52,12 @@ SwHelpToolBox::~SwHelpToolBox() {} sal_Int8 SwHelpToolBox::AcceptDrop( const AcceptDropEvent& rEvt ) { - return ((SwNavigationPI*)GetParent())->AcceptDrop( rEvt ); + return static_cast<SwNavigationPI*>(GetParent())->AcceptDrop( rEvt ); } sal_Int8 SwHelpToolBox::ExecuteDrop( const ExecuteDropEvent& rEvt ) { - return ((SwNavigationPI*)GetParent())->ExecuteDrop( rEvt ); + return static_cast<SwNavigationPI*>(GetParent())->ExecuteDrop( rEvt ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |