summaryrefslogtreecommitdiff
path: root/svtools/source/misc/dialogcontrolling.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc/dialogcontrolling.cxx')
-rw-r--r--svtools/source/misc/dialogcontrolling.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx
index a6ae0b394583..fbfa4613c6dc 100644
--- a/svtools/source/misc/dialogcontrolling.cxx
+++ b/svtools/source/misc/dialogcontrolling.cxx
@@ -105,11 +105,8 @@ namespace svt
{
if ( !m_pImpl->pEventFilter->payAttentionTo( _rEvent ) )
return;
- for ( auto loop = m_pImpl->aConcernedWindows.begin();
- loop != m_pImpl->aConcernedWindows.end();
- ++loop
- )
- impl_update( _rEvent, *(*loop) );
+ for (auto const& concernedWindow : m_pImpl->aConcernedWindows)
+ impl_update(_rEvent, *concernedWindow);
}