diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-01 09:34:14 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-01 09:34:58 +0100 |
commit | 48b74575bafc980959affd08254c2c22ea968690 (patch) | |
tree | 934b822e81342cc399f00adae54b7630565bfb5e /svx/source | |
parent | e259c58227a4b8bfe5b2bb0457afcf6907c90800 (diff) |
svx: nAnz -> nObjCount
Change-Id: I5d7f50d52aac9b1333828db1571163d7d5a624c4
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdedtv2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 2868408eb405..fcee2e48be85 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); |