summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/pvfundlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-06 18:31:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-06 18:31:44 +0200
commit93c0b1f5dafa1c9d01c804f350129dde047bb8dc (patch)
tree861bc6da163d72fedcf690c0029be980d4b76f06 /sc/source/ui/dbgui/pvfundlg.cxx
parentee3e23842e7bb0bfe23b6f070b0677dd3d70fd92 (diff)
Improved loplugin:redundantcast, static_cast on arithmetic types: sc
Change-Id: Id56d3e3d7c4485e24dc8fe6349631837101e86fe
Diffstat (limited to 'sc/source/ui/dbgui/pvfundlg.cxx')
-rw-r--r--sc/source/ui/dbgui/pvfundlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/pvfundlg.cxx b/sc/source/ui/dbgui/pvfundlg.cxx
index 74ba3f181dd5..7bf29db6c805 100644
--- a/sc/source/ui/dbgui/pvfundlg.cxx
+++ b/sc/source/ui/dbgui/pvfundlg.cxx
@@ -737,7 +737,7 @@ void ScDPSubtotalOptDlg::Init( const ScDPNameVec& rDataFields, bool bEnableLayou
lclFillListBox( *m_pLbHierarchy, maLabelData.maHiers );
sal_Int32 nHier = maLabelData.mnUsedHier;
if( (nHier < 0) || (nHier >= maLabelData.maHiers.getLength()) ) nHier = 0;
- m_pLbHierarchy->SelectEntryPos( static_cast< sal_Int32 >( nHier ) );
+ m_pLbHierarchy->SelectEntryPos( nHier );
m_pLbHierarchy->SetSelectHdl( LINK( this, ScDPSubtotalOptDlg, SelectHdl ) );
}
else