svx/source/engine3d/view3d.cxx | 8 ++++---- svx/source/svdraw/svdxcgv.cxx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit 794ed9fdd0fb426647c1f9086512fe9c425fb17d Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Sat Mar 21 09:47:29 2015 +0100 svx: nObAnz -> nObjCount Change-Id: I964d02b94f63ee5c3aea7375b0d833ea7ba99105 Reviewed-on: https://gerrit.libreoffice.org/14939 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx index 399bd23..16150b4 100644 --- a/svx/source/engine3d/view3d.cxx +++ b/svx/source/engine3d/view3d.cxx @@ -410,9 +410,9 @@ SdrModel* E3dView::GetMarkedObjModel() const for(sal_uInt16 nPg(0); nPg < pNewModel->GetPageCount(); nPg++) { const SdrPage* pSrcPg=pNewModel->GetPage(nPg); - const size_t nObAnz(pSrcPg->GetObjCount()); + const size_t nObjCount(pSrcPg->GetObjCount()); - for(size_t nOb = 0; nOb < nObAnz; ++nOb) + for(size_t nOb = 0; nOb < nObjCount; ++nOb) { const SdrObject* pSrcOb=pSrcPg->GetObj(nOb); @@ -465,14 +465,14 @@ bool E3dView::Paste( for(sal_uInt16 nPg(0); nPg < rMod.GetPageCount(); nPg++) { const SdrPage* pSrcPg=rMod.GetPage(nPg); - const size_t nObAnz(pSrcPg->GetObjCount()); + const size_t nObjCount(pSrcPg->GetObjCount()); // calculate offset for paste Rectangle aR = pSrcPg->GetAllObjBoundRect(); Point aDist(aPos - aR.Center()); // Insert sub-objects for scenes - for(size_t nOb = 0; nOb < nObAnz; ++nOb) + for(size_t nOb = 0; nOb < nObjCount; ++nOb) { const SdrObject* pSrcOb = pSrcPg->GetObj(nOb); if(pSrcOb->ISA(E3dScene)) diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx index fbc9b53..194231e 100644 --- a/svx/source/svdraw/svdxcgv.cxx +++ b/svx/source/svdraw/svdxcgv.cxx @@ -289,14 +289,14 @@ bool SdrExchangeView::Paste( Point aDist(aPos-aR.Center()); Size aSiz(aDist.X(),aDist.Y()); size_t nCloneErrCnt = 0; - const size_t nObAnz = pSrcPg->GetObjCount(); + const size_t nObjCount = pSrcPg->GetObjCount(); bool bMark=pMarkPV!=NULL && !IsTextEdit() && (nOptions&SDRINSERT_DONTMARK)==0; // #i13033# // New mechanism to re-create the connections of cloned connectors CloneList aCloneList; - for (size_t nOb=0; nOb<nObAnz; ++nOb) + for (size_t nOb=0; nOb<nObjCount; ++nOb) { const SdrObject* pSrcOb=pSrcPg->GetObj(nOb); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits