summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-03-12 13:15:46 +0100
committerNoel Grandin <noelgrandin@gmail.com>2016-03-12 14:30:32 +0000
commit1151fec7a8c3dfcbc364aa941f477004309b1e59 (patch)
treea1380921ab330dbc0535c2dfff55b75355dbe3fb /cppuhelper
parent0c3ff8ca07265304f9ea0a7aca8c83703cff01a1 (diff)
Let's use the iterator return by erase method (final)
Change-Id: I1934b0c2a9ae9fa089d7e9ded4a289908fb2709a Reviewed-on: https://gerrit.libreoffice.org/23173 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/servicemanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index 2c29bb62fffb..fe761fe9689f 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -1776,7 +1776,7 @@ void cppuhelper::ServiceManager::removeRdbFiles(
removeFromImplementationMap(
&data_.singletons, j->second->info->singletons,
j->second);
- data_.namedImplementations.erase(j++);
+ j = data_.namedImplementations.erase(j);
} else {
++j;
}