summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-02-22 22:56:19 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-02-22 22:56:50 +0100
commitf8f0327e0fa69e7c6b03117dd6e39f4da2030434 (patch)
treeb7f7b8508af3c439afb890c1f3753032a4950923
parentde8d6e8f377b5d478cc62036448a75c00c1b9afc (diff)
Simplify erase iterator management (DocumentContentOperationsManager.cxx)
Change-Id: Ib9f71832ad12449a73ae803bf7219c2e1c93f086
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 99366fb7e494..9c1f701233fa 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -3382,7 +3382,7 @@ void DocumentContentOperationsManager::CopyFlyInFlyImpl(
pSNd->GetIndex() < rStartIdx.GetIndex() &&
rStartIdx.GetIndex() < pSNd->EndOfSectionIndex() )
{
- aSet.erase (it++);
+ it = aSet.erase(it);
continue;
}
}