diff options
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 08e30d7f8e5d..6a4d1c2c3aaa 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -4172,7 +4172,7 @@ Size ToolBox::GetOptimalSize() const // If we have any expandable entries, then force them to their // optimal sizes, then reset them afterwards std::map<vcl::Window*, Size> aExpandables; - for (ImplToolItem & rItem : mpData->m_aItems) + for (const ImplToolItem & rItem : mpData->m_aItems) { if (rItem.mbExpand) { |