summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorHeiko Tietze <heiko.tietze@documentfoundation.org>2023-05-26 10:17:53 +0200
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2023-05-26 13:05:07 +0200
commitca10ae200aac01e6b238567fa637cdc293f70f7a (patch)
treec0c26f3b9b6c91fbdab400b6061a66ff6896ceaf /svx/source
parent306093f8f82a646a2a82ebfc57fbef70af2d30a7 (diff)
Suppress variable not used warning
Change-Id: Ie154c9ad2d187adf735590da2e23420572dd5de4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152294 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdpage.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index 55d3e7f5aa6b..175f58b2ad7a 100644
--- a/svx/source/svdraw/svdpage.cxx
+++ b/svx/source/svdraw/svdpage.cxx
@@ -139,7 +139,9 @@ void SdrObjList::CopyObjects(const SdrObjList& rSrcList)
mbObjOrdNumsDirty = false;
mbRectsDirty = false;
+#ifdef DBG_UTIL
size_t nCloneErrCnt(0);
+#endif
const size_t nCount(rSrcList.GetObjCount());
if(nullptr == getSdrObjectFromSdrObjList() && nullptr == getSdrPageFromSdrObjList())
@@ -162,10 +164,12 @@ void SdrObjList::CopyObjects(const SdrObjList& rSrcList)
NbcInsertObject(pDO.get(), SAL_MAX_SIZE);
aCloneList.AddPair(pSO, pDO.get());
}
+#ifdef DBG_UTIL
else
{
nCloneErrCnt++;
}
+#endif
}
// Wires up the connections