diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:37:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:37:56 +0200 |
commit | 6a62339a6cc236cc39b827658099c3883fcffaa2 (patch) | |
tree | 685a3c749c9c4a9c713950fae7eafc0ecd174c2f /cui/source/options/treeopt.cxx | |
parent | 7d81894613e8697f9291fb8c346b444cf024a786 (diff) |
Improved loplugin:redundantcast static_cast handling: cui
Change-Id: I6c8ff3929201bdef23bc67fa82c73258f7a5437f
Diffstat (limited to 'cui/source/options/treeopt.cxx')
-rw-r--r-- | cui/source/options/treeopt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index bc1e6517b3a1..4ae7da1572bc 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -1594,7 +1594,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame ) SfxModule* pScMod = SfxApplication::GetModule( SfxToolsModule::Calc ); setGroupName( "Calc", rCalcArray.GetString(0) ); nGroup = AddGroup( rCalcArray.GetString( 0 ), pScMod, pScMod, SID_SC_EDITOPTIONS ); - const sal_uInt16 nCount = static_cast< const sal_uInt16 >( rCalcArray.Count() ); + const sal_uInt16 nCount = static_cast< sal_uInt16 >( rCalcArray.Count() ); for ( sal_uInt16 i = 1; i < nCount; ++i ) { nPageId = (sal_uInt16)rCalcArray.GetValue(i); @@ -1618,7 +1618,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame ) ResStringArray& rImpressArray = aDlgResource.GetImpressArray(); setGroupName( "Impress", rImpressArray.GetString(0) ); nGroup = AddGroup( rImpressArray.GetString( 0 ), pSdMod, pSdMod, SID_SD_EDITOPTIONS ); - const sal_uInt16 nCount = static_cast< const sal_uInt16 >( rImpressArray.Count() ); + const sal_uInt16 nCount = static_cast< sal_uInt16 >( rImpressArray.Count() ); for ( sal_uInt16 i = 1; i < nCount; ++i ) { nPageId = (sal_uInt16)rImpressArray.GetValue(i); @@ -1641,7 +1641,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame ) ResStringArray& rDrawArray = aDlgResource.GetDrawArray(); setGroupName( "Draw", rDrawArray.GetString(0) ); nGroup = AddGroup( rDrawArray.GetString( 0 ), pSdMod, pSdMod, SID_SD_GRAPHIC_OPTIONS ); - const sal_uInt16 nCount = static_cast< const sal_uInt16 >( rDrawArray.Count() ); + const sal_uInt16 nCount = static_cast< sal_uInt16 >( rDrawArray.Count() ); for ( sal_uInt16 i = 1; i < nCount; ++i ) { nPageId = (sal_uInt16)rDrawArray.GetValue(i); |