[Libreoffice-commits] core.git: svx/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon Feb 1 00:35:36 PST 2016
svx/source/svdraw/svdedtv2.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 48b74575bafc980959affd08254c2c22ea968690
Author: Miklos Vajna <vmiklos at 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);
More information about the Libreoffice-commits
mailing list