diff options
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r-- | vcl/source/window/window2.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 24d1fa79eae2..095452df7b17 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -1390,9 +1390,8 @@ void Window::queue_resize(StateChangedType eReason) if (pWindowImpl->m_xSizeGroup && pWindowImpl->m_xSizeGroup->get_mode() != VCL_SIZE_GROUP_NONE) { std::set<VclPtr<vcl::Window> > &rWindows = pWindowImpl->m_xSizeGroup->get_widgets(); - for (auto aI = rWindows.begin(), aEnd = rWindows.end(); aI != aEnd; ++aI) + for (VclPtr<vcl::Window> const & pOther : rWindows) { - vcl::Window *pOther = *aI; if (pOther == this) continue; queue_ungrouped_resize(pOther); |