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/pfiltdlg.cxx | |
parent | 1e21c77561b802bae4cb84631614f8aa612785a6 (diff) |
loplugin: cstylecast
Change-Id: I47adf8a3fc72b4a043724ac40f3637b8dc3878be
Diffstat (limited to 'sc/source/ui/dbgui/pfiltdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/pfiltdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx index 30823d41ecc7..096c9c2e17dd 100644 --- a/sc/source/ui/dbgui/pfiltdlg.cxx +++ b/sc/source/ui/dbgui/pfiltdlg.cxx @@ -51,7 +51,7 @@ ScPivotFilterDlg::ScPivotFilterDlg(vcl::Window* pParent, const SfxItemSet& rArgS aStrColumn ( SC_RESSTR(SCSTR_COLUMN) ), nWhichQuery ( rArgSet.GetPool()->GetWhich( SID_QUERY ) ), - theQueryData ( ((const ScQueryItem&) + theQueryData ( static_cast<const ScQueryItem&>( rArgSet.Get( nWhichQuery )).GetQueryData() ), pOutItem ( NULL ), pViewData ( NULL ), @@ -91,8 +91,8 @@ ScPivotFilterDlg::~ScPivotFilterDlg() void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet ) { - const ScQueryItem& rQueryItem = (const ScQueryItem&) - rArgSet.Get( nWhichQuery ); + const ScQueryItem& rQueryItem = static_cast<const ScQueryItem&>( + rArgSet.Get( nWhichQuery )); m_pBtnCase->SetClickHdl ( LINK( this, ScPivotFilterDlg, CheckBoxHdl ) ); |