summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdedtv.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 14:42:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-04 08:47:43 +0200
commit33b150bbd636ab23ebf50a5301034f3a551f3793 (patch)
treeda8b06bfbdfbcadffbf11d54049db2a3fb4463fc /svx/source/svdraw/svdedtv.cxx
parente0c64cbeaf458cabcf8f4ac7c8aac4cd1896273c (diff)
rename nPgAnz->nPgCount
Change-Id: I4cbc74ed4488c06feaa8b8ab62496fac77ab3aa6 Reviewed-on: https://gerrit.libreoffice.org/40739 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdedtv.cxx')
-rw-r--r--svx/source/svdraw/svdedtv.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx
index 55d7d31fa64f..7e41af8cf798 100644
--- a/svx/source/svdraw/svdedtv.cxx
+++ b/svx/source/svdraw/svdedtv.cxx
@@ -207,9 +207,9 @@ void SdrEditView::DeleteLayer(const OUString& rName)
for(sal_uInt16 nPageKind(0); nPageKind < 2; nPageKind++)
{
// MasterPages and DrawPages
- sal_uInt16 nPgAnz(bMaPg ? mpModel->GetMasterPageCount() : mpModel->GetPageCount());
+ sal_uInt16 nPgCount(bMaPg ? mpModel->GetMasterPageCount() : mpModel->GetPageCount());
- for(sal_uInt16 nPgNum(0); nPgNum < nPgAnz; nPgNum++)
+ for(sal_uInt16 nPgNum(0); nPgNum < nPgCount; nPgNum++)
{
// over all pages
SdrPage* pPage = (bMaPg) ? mpModel->GetMasterPage(nPgNum) : mpModel->GetPage(nPgNum);