svx/source/svdraw/svdedtv2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 48b74575bafc980959affd08254c2c22ea968690 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Mon Feb 1 09:34:14 2016 +0100 svx: nAnz -> nObjCount Change-Id: I5d7f50d52aac9b1333828db1571163d7d5a624c4 diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 2868408..fcee2e4 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -1859,18 +1859,18 @@ void SdrEditView::UnGroupMarked() // FIRST move contained objects to parent of group, so that // the contained objects are NOT migrated to the UNDO-ItemPool // when AddUndo(new SdrUndoDelObj(*pGrp)) is called. - const size_t nAnz=pSrcLst->GetObjCount(); + const size_t nObjCount=pSrcLst->GetObjCount(); if( bUndo ) { - for (size_t no=nAnz; no>0;) + for (size_t no=nObjCount; no>0;) { no--; SdrObject* pObj=pSrcLst->GetObj(no); AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoRemoveObject(*pObj)); } } - for (size_t no=0; no<nAnz; ++no) + for (size_t no=0; no<nObjCount; ++no) { SdrObject* pObj=pSrcLst->RemoveObject(0); SdrInsertReason aReason(SDRREASON_VIEWCALL); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits