sw/source/core/docnode/ndcopy.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 55c51004c57ed525275cec2f0f28bead55b6e718 Author: Thorsten Behrens <tbehr...@suse.com> Date: Tue Aug 27 18:02:25 2013 +0200 Use slightly less verbose erase-then-move-on idiom. Change-Id: Iae3a749770b75a99c53755d0410ef9510158e94b diff --git a/sw/source/core/docnode/ndcopy.cxx b/sw/source/core/docnode/ndcopy.cxx index fe9201b..92c0cec 100644 --- a/sw/source/core/docnode/ndcopy.cxx +++ b/sw/source/core/docnode/ndcopy.cxx @@ -1571,8 +1571,7 @@ void SwDoc::CopyFlyInFlyImpl( const SwNodeRange& rRg, rStartIdx.GetIndex() < pSNd->EndOfSectionIndex() ) { bMakeCpy = false; - ::std::set< _ZSortFly >::const_iterator it_erase=it++; - aSet.erase (it_erase); + aSet.erase (it++); continue; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits