From ebb137bd9405f7a147d2c80e2633a221813c72f3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 18 Jan 2015 21:28:44 +0100 Subject: Some more loplugin:cstylecast: sc Change-Id: I75adf1973083a6f4519133f9e97ad83fd7d8658a --- sc/source/ui/navipi/content.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/navipi/content.cxx') 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(GetParent(pEntry)); ScNavigatorDlg* pScNavigatorDlg = static_cast(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(GetParent(pChild)); if(pWindow) pScNavigatorDlg = static_cast(pWindow); if (pScNavigatorDlg!=NULL) -- cgit