diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-18 21:28:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:51 +0100 |
commit | ebb137bd9405f7a147d2c80e2633a221813c72f3 (patch) | |
tree | 027663f67662bf06a54b539f5a22b6a5454db07c /sc/source/ui/navipi/content.cxx | |
parent | abf133355ffa6a3cda1e44969cd0716cab4f6e61 (diff) |
Some more loplugin:cstylecast: sc
Change-Id: I75adf1973083a6f4519133f9e97ad83fd7d8658a
Diffstat (limited to 'sc/source/ui/navipi/content.cxx')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 194e0922fb0c..ddbde5f5ab37 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -483,7 +483,7 @@ void ScContentTree::KeyInput( const KeyEvent& rKEvt ) case SC_CONTENT_GRAPHIC: case SC_CONTENT_DRAWING: { - vcl::Window* pWindow=(vcl::Window*)GetParent(pEntry); + vcl::Window* pWindow=reinterpret_cast<vcl::Window*>(GetParent(pEntry)); ScNavigatorDlg* pScNavigatorDlg = static_cast<ScNavigatorDlg*>(pWindow); ScTabViewShell* pScTabViewShell = NULL; ScDrawView* pScDrawView = NULL; @@ -970,7 +970,7 @@ void ScContentTree::GetDrawNames( sal_uInt16 nType ) ScDrawView* pScDrawView=NULL; ScNavigatorDlg* pScNavigatorDlg=NULL; if(pChild) - pWindow=(vcl::Window*)GetParent(pChild); + pWindow=reinterpret_cast<vcl::Window*>(GetParent(pChild)); if(pWindow) pScNavigatorDlg = static_cast<ScNavigatorDlg*>(pWindow); if (pScNavigatorDlg!=NULL) |