summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-19 15:06:17 +0200
committerDavid Tardon <dtardon@redhat.com>2011-08-08 12:29:49 +0200
commit778c80a9a78fccb3e5a8993f7691eac98fdda540 (patch)
treeba4972d217b55a3ac8b9e67c86d175ceb75af128 /toolkit
parent1913c4b0ad6963042b8919dc2e93987fc5a0b3c7 (diff)
reassign iterator on erase
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/layout/vcl/wbutton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/layout/vcl/wbutton.cxx b/toolkit/source/layout/vcl/wbutton.cxx
index 96e6aeb5d251..7df8e36811c4 100644
--- a/toolkit/source/layout/vcl/wbutton.cxx
+++ b/toolkit/source/layout/vcl/wbutton.cxx
@@ -490,7 +490,7 @@ protected:
it != maAdvanced.end(); ++it )
if ( *it == w )
{
- lst.erase( it );
+ it = lst.erase( it );
return *it;
}
return 0;