diff options
author | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-05-26 10:17:53 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-05-26 13:05:07 +0200 |
commit | ca10ae200aac01e6b238567fa637cdc293f70f7a (patch) | |
tree | c0c26f3b9b6c91fbdab400b6061a66ff6896ceaf /svx | |
parent | 306093f8f82a646a2a82ebfc57fbef70af2d30a7 (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')
-rw-r--r-- | svx/source/svdraw/svdpage.cxx | 4 |
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 |