summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-23 17:42:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-23 20:39:04 +0200
commit8c28f11a7ecfb2ae85bd7c07d20032eb1c4c0dd9 (patch)
treeff72033b0aa21e9a7bf7e5a121767779c5b542ab
parent42dfdd2f8b4e4f3b6857fa416600e708358c5baa (diff)
loplugin:loopvartoosmall (clang-cl)
Change-Id: I637fdfe2a22a8e85c89850e6815e4b28e0584dd4 Reviewed-on: https://gerrit.libreoffice.org/81406 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--vcl/source/window/toolbox2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 6700c3466ff2..56f687dac2f8 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -1774,7 +1774,7 @@ boost::property_tree::ptree ToolBox::DumpAsPropertyTree()
boost::property_tree::ptree::const_assoc_iterator found = aTree.find("children");
if (found == aTree.not_found())
{
- for (unsigned long i = 0; i < GetItemCount(); ++i)
+ for (ToolBox::ImplToolItems::size_type i = 0; i < GetItemCount(); ++i)
{
ToolBoxItemType type = GetItemType(i);
if (type == ToolBoxItemType::BUTTON)