vcl/source/window/toolbox2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8c28f11a7ecfb2ae85bd7c07d20032eb1c4c0dd9 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Oct 23 17:42:45 2019 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Oct 23 20:39:04 2019 +0200 loplugin:loopvartoosmall (clang-cl) Change-Id: I637fdfe2a22a8e85c89850e6815e4b28e0584dd4 Reviewed-on: https://gerrit.libreoffice.org/81406 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits