diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-02-22 22:56:19 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-02-22 22:56:50 +0100 |
commit | f8f0327e0fa69e7c6b03117dd6e39f4da2030434 (patch) | |
tree | b7f7b8508af3c439afb890c1f3753032a4950923 | |
parent | de8d6e8f377b5d478cc62036448a75c00c1b9afc (diff) |
Simplify erase iterator management (DocumentContentOperationsManager.cxx)
Change-Id: Ib9f71832ad12449a73ae803bf7219c2e1c93f086
-rw-r--r-- | sw/source/core/doc/DocumentContentOperationsManager.cxx | 2 |
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; } } |