diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-27 14:18:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-28 08:10:20 +0200 |
commit | d9026e13578e6714b2847a9adc0c0563708a0c74 (patch) | |
tree | bc3f5e0cd877e4d7a303686ee7087f26e49befd0 /sc/source/ui/dbgui/consdlg.cxx | |
parent | 1e21c77561b802bae4cb84631614f8aa612785a6 (diff) |
loplugin: cstylecast
Change-Id: I47adf8a3fc72b4a043724ac40f3637b8dc3878be
Diffstat (limited to 'sc/source/ui/dbgui/consdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/consdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/dbgui/consdlg.cxx b/sc/source/ui/dbgui/consdlg.cxx index 45b95629b48c..a8b6c737d010 100644 --- a/sc/source/ui/dbgui/consdlg.cxx +++ b/sc/source/ui/dbgui/consdlg.cxx @@ -63,13 +63,13 @@ ScConsolidateDlg::ScConsolidateDlg( SfxBindings* pB, SfxChildWindow* pCW, vcl::W : ScAnyRefDlg ( pB, pCW, pParent, "ConsolidateDialog" , "modules/scalc/ui/consolidatedialog.ui" ), aStrUndefined ( ScResId( SCSTR_UNDEFINED ) ), - theConsData ( ((const ScConsolidateItem&) + theConsData ( static_cast<const ScConsolidateItem&>( rArgSet.Get( rArgSet.GetPool()-> GetWhich( SID_CONSOLIDATE ) ) ).GetData() ), - rViewData ( ((ScTabViewShell*)SfxViewShell::Current())-> + rViewData ( static_cast<ScTabViewShell*>(SfxViewShell::Current())-> GetViewData() ), - pDoc ( ((ScTabViewShell*)SfxViewShell::Current())-> + pDoc ( static_cast<ScTabViewShell*>(SfxViewShell::Current())-> GetViewData().GetDocument() ), pRangeUtil ( new ScRangeUtil ), pAreaData ( NULL ), @@ -327,7 +327,7 @@ IMPL_LINK( ScConsolidateDlg, GetFocusHdl, Control*, pCtr ) if ( pCtr ==(Control*)pEdDataArea || pCtr ==(Control*)pEdDestArea) { - pRefInputEdit = (formula::RefEdit*)pCtr; + pRefInputEdit = static_cast<formula::RefEdit*>(pCtr); } else if(pCtr ==(Control*)pLbDataArea ) { |