diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-02-04 12:34:08 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-04 16:03:38 +0100 |
commit | 18af59fbb750389261fd4e03daf46bd9d1f4cf99 (patch) | |
tree | 61847d197aee13bd15be2c1242c7dcddf6b4a213 | |
parent | 879bf788bca29536232b0a2124b3c411b071ef63 (diff) |
framework: clean up ugly _ prefixed identifiers
Change-Id: If965ad91e771c84e89c6690a4e1b733d4e70f1b4
-rw-r--r-- | framework/source/uielement/toolbarmanager.cxx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index eab47390c7c8..af416c2fa935 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -522,7 +522,8 @@ void SAL_CALL ToolBarManager::elementRemoved( const css::ui::ConfigurationEvent& { impl_elementChanged(true,Event); } -void ToolBarManager::impl_elementChanged(bool _bRemove,const css::ui::ConfigurationEvent& Event ) +void ToolBarManager::impl_elementChanged(bool const isRemove, + const css::ui::ConfigurationEvent& Event) { SolarMutexGuard g; @@ -551,7 +552,7 @@ void ToolBarManager::impl_elementChanged(bool _bRemove,const css::ui::Configurat CommandToInfoMap::iterator pIter = m_aCommandMap.find( aSeq[i] ); if ( pIter != m_aCommandMap.end() && ( pIter->second.nImageInfo >= nImageInfo )) { - if ( _bRemove ) + if (isRemove) { Image aImage; if (( pIter->second.nImageInfo == 0 ) && ( pIter->second.nImageInfo == nImageInfo )) @@ -567,7 +568,7 @@ void ToolBarManager::impl_elementChanged(bool _bRemove,const css::ui::Configurat } setToolBarImage(aImage,pIter); - } // if ( _bRemove ) + } // if (isRemove) else { Reference< XGraphic > xGraphic; @@ -582,13 +583,14 @@ void ToolBarManager::impl_elementChanged(bool _bRemove,const css::ui::Configurat } } } -void ToolBarManager::setToolBarImage(const Image& _aImage,const CommandToInfoMap::const_iterator& _pIter) +void ToolBarManager::setToolBarImage(const Image& rImage, + const CommandToInfoMap::const_iterator& rIter) { - const ::std::vector< sal_uInt16 >& _rIDs = _pIter->second.aIds; - m_pToolBar->SetItemImage( _pIter->second.nId, _aImage ); - for (auto const& it : _rIDs) + const ::std::vector<sal_uInt16>& rIDs = rIter->second.aIds; + m_pToolBar->SetItemImage( rIter->second.nId, rImage ); + for (auto const& it : rIDs) { - m_pToolBar->SetItemImage(it, _aImage); + m_pToolBar->SetItemImage(it, rImage); } } |