diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-01 09:04:20 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-01 09:14:12 +0200 |
commit | da7758dad3c6ca0747bd51cc41ad19fcc958205d (patch) | |
tree | 49c1e5fe01a292f54e6b8dc0b863972be01248e4 /svx/source/svdraw/svdedtv.cxx | |
parent | 81ef96a2417c7843dfed0558c920ad3064e58921 (diff) |
svx: nObjAnz -> nObjCount
Change-Id: I1ae00035c5ae9ac620f01982d6e4fff593f7c054
Diffstat (limited to 'svx/source/svdraw/svdedtv.cxx')
-rw-r--r-- | svx/source/svdraw/svdedtv.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index fd3361cb77f2..18830ea6ec56 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -153,13 +153,13 @@ bool SdrEditView::ImpDelLayerCheck(SdrObjList* pOL, SdrLayerID nDelID) const void SdrEditView::ImpDelLayerDelObjs(SdrObjList* pOL, SdrLayerID nDelID) { - const size_t nObjAnz(pOL->GetObjCount()); + const size_t nObjCount(pOL->GetObjCount()); // make sure OrdNums are correct pOL->GetObj(0)->GetOrdNum(); const bool bUndo = GetModel()->IsUndoEnabled(); - for(size_t nObjNum = nObjAnz; nObjNum > 0;) + for(size_t nObjNum = nObjCount; nObjNum > 0;) { nObjNum--; SdrObject* pObj = pOL->GetObj(nObjNum); @@ -223,13 +223,13 @@ void SdrEditView::DeleteLayer(const OUString& rName) { // over all pages SdrPage* pPage = (bMaPg) ? pMod->GetMasterPage(nPgNum) : pMod->GetPage(nPgNum); - const size_t nObjAnz(pPage->GetObjCount()); + const size_t nObjCount(pPage->GetObjCount()); // make sure OrdNums are correct - if(nObjAnz) + if(nObjCount) pPage->GetObj(0)->GetOrdNum(); - for(size_t nObjNum(nObjAnz); nObjNum > 0;) + for(size_t nObjNum(nObjCount); nObjNum > 0;) { nObjNum--; SdrObject* pObj = pPage->GetObj(nObjNum); |