[Libreoffice-commits] core.git: include/svl

Jochen Nitschke j.nitschke+logerrit at ok.de
Mon Sep 5 07:13:42 UTC 2016


 include/svl/poolitem.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2c39312bae5973eeac408cb5a615db946c01517d
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun Sep 4 18:30:57 2016 +0200

    correct copy and paste in debug message
    
    Change-Id: I6898c78d412544f0e2a44d7d48140731b676821a
    Reviewed-on: https://gerrit.libreoffice.org/28669
    Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 2faee97..8172369 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -198,8 +198,8 @@ inline void SfxPoolItem::AddRef( sal_uLong n ) const
 
 inline sal_uLong SfxPoolItem::ReleaseRef( sal_uLong n ) const
 {
-    DBG_ASSERT(m_nRefCount <= SFX_ITEMS_MAXREF, "AddRef with non-Pool-Item");
-    DBG_ASSERT(m_nRefCount >= n, "AddRef: refcount underflow");
+    DBG_ASSERT(m_nRefCount <= SFX_ITEMS_MAXREF, "ReleaseRef with non-Pool-Item");
+    DBG_ASSERT(m_nRefCount >= n, "ReleaseRef: refcount underflow");
     m_nRefCount -= n;
     return m_nRefCount;
 }


More information about the Libreoffice-commits mailing list