[Libreoffice-commits] core.git: sw/source
Thorsten Behrens
tbehrens at suse.com
Tue Aug 27 09:03:40 PDT 2013
sw/source/core/docnode/ndcopy.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 55c51004c57ed525275cec2f0f28bead55b6e718
Author: Thorsten Behrens <tbehrens at 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;
}
}
More information about the Libreoffice-commits
mailing list