summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-21 09:47:29 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-21 10:01:31 +0000
commit794ed9fdd0fb426647c1f9086512fe9c425fb17d (patch)
tree5a9227e0fafdd236e750d2c895d32820d2419ffe /svx
parent45c949c5a34cb73cdb08f85b2f33ae498c7c3c5c (diff)
svx: nObAnz -> nObjCount
Change-Id: I964d02b94f63ee5c3aea7375b0d833ea7ba99105 Reviewed-on: https://gerrit.libreoffice.org/14939 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/engine3d/view3d.cxx8
-rw-r--r--svx/source/svdraw/svdxcgv.cxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx
index 399bd234a602..16150b417904 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 fbc9b53ec64d..194231e8f365 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);