summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galbrws2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gallery2/galbrws2.cxx')
-rw-r--r--svx/source/gallery2/galbrws2.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 319944412d4b..dd19615bb66f 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -263,13 +263,11 @@ void GalleryThemePopup::ExecutePopup( vcl::Window *pWindow, const ::Point &aPos
GalleryBrowser2::GetFrame(), css::uno::UNO_QUERY );
css::uno::Reference< css::util::XURLTransformer > xTransformer(
mpBrowser->GetURLTransformer() );
- CommandInfoMap::const_iterator aEnd = m_aCommandInfo.end();
- for ( CommandInfoMap::iterator it = m_aCommandInfo.begin();
- it != aEnd; ++it )
+ for ( auto& rInfo : m_aCommandInfo )
{
try
{
- CommandInfo &rCmdInfo = it->second;
+ CommandInfo &rCmdInfo = rInfo.second;
if ( xTransformer.is() )
xTransformer->parseStrict( rCmdInfo.URL );