summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-09-04 18:30:57 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-09-05 07:13:22 +0000
commit2c39312bae5973eeac408cb5a615db946c01517d (patch)
treeeded1feb5e1ff956f04564a8c4febb6d8a909834 /include
parent5d22a47b4431c5718d989e738d2963d0b880d898 (diff)
correct copy and paste in debug message
Change-Id: I6898c78d412544f0e2a44d7d48140731b676821a Reviewed-on: https://gerrit.libreoffice.org/28669 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/svl/poolitem.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 2faee978ceb0..81723690e7d4 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;
}