diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-09-24 18:50:54 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-29 21:51:01 +0000 |
commit | b4cf309bab18caafdd2e12d21053f412a40b764d (patch) | |
tree | ae5334ddc7ba7b9f294ed7601e1bf67c076dd5ec /svl | |
parent | 524dba884ddc3a17b8c001c71d55fc680df52cc0 (diff) |
silence false positive warnings in non DBG_UTIL builds
Change-Id: I80428ebe570584fc7a31581207da0b27a16949af
Reviewed-on: https://gerrit.libreoffice.org/29244
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/itempool.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 891fa316c73e..2af68e1f33ef 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -507,9 +507,7 @@ void SfxItemPool::Delete() for (auto& rItemPtr : *rArrayPtr) if (rItemPtr) { -#ifdef DBG_UTIL - ReleaseRef(*rItemPtr, rItemPtr->GetRefCount()); -#endif + ReleaseRef(*rItemPtr, rItemPtr->GetRefCount()); // for RefCount check in dtor delete rItemPtr; } rArrayPtr->clear(); @@ -536,9 +534,7 @@ void SfxItemPool::Delete() for (auto& rItemPtr : *rArrayPtr) if (rItemPtr) { -#ifdef DBG_UTIL - ReleaseRef(*rItemPtr, rItemPtr->GetRefCount()); -#endif + ReleaseRef(*rItemPtr, rItemPtr->GetRefCount()); // for RefCount check in dtor delete rItemPtr; } rArrayPtr->clear(); |