summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/servicemanager.cxx2
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx2
-rw-r--r--sc/source/core/data/conditio.cxx2
3 files changed, 3 insertions, 3 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;
}
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 1230c17a3e84..1f47b9fa2884 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -736,7 +736,7 @@ void OGenericUnoController::removeStatusListener(const Reference< XStatusListene
)
)
{
- m_arrStatusListener.erase( iterSearch++ );
+ iterSearch = m_arrStatusListener.erase(iterSearch);
if (!bRemoveForAll)
// remove the listener only for the given URL, so we can exit the loop after deletion
break;
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx
index d65355b4f4fe..b67b04f9666c 100644
--- a/sc/source/core/data/conditio.cxx
+++ b/sc/source/core/data/conditio.cxx
@@ -2269,7 +2269,7 @@ bool ScConditionalFormatList::CheckAllEntries()
if ((*itr)->GetRange().empty())
{
bValid = false;
- m_ConditionalFormats.erase(itr++);
+ itr = m_ConditionalFormats.erase(itr);
}
else
++itr;