summaryrefslogtreecommitdiff
path: root/vcl/workben/vcldemo.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-09-27 08:33:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-09-27 11:04:10 +0200
commit71a327528f1f7ffabd157e258528888855ab6f01 (patch)
tree491727a149d7c20be18a15fc857712b3688dee4e /vcl/workben/vcldemo.cxx
parente8599a29c6540c05802d257671f3f4c572c73abc (diff)
Error: attempt to subscript container with out-of-bounds index 24
...doing `bin/run vcldemo` and clicking on the third column in the third row Change-Id: Ibe93f701a1ebf2447d5f5240e9a4ecab378918ef Reviewed-on: https://gerrit.libreoffice.org/79665 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/workben/vcldemo.cxx')
-rw-r--r--vcl/workben/vcldemo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 29d148158b9a..74dc6fb5671e 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -1382,7 +1382,7 @@ public:
LoadAllImages();
Point aLocation(0,maIcons[0].GetSizePixel().Height() + 8);
- for (size_t i = 0; i < 100; i++)
+ for (size_t i = 0; i < maIcons.size(); i++)
{
BitmapEx aSrc = maIcons[i];