summaryrefslogtreecommitdiff
path: root/include/salhelper
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-06-07 22:50:54 +1000
committerMichael Stahl <mstahl@redhat.com>2017-06-12 12:33:20 +0200
commit3c354ea9ed8158143110fda56af22d12e750fc2f (patch)
tree3a54fa852cf34be71a433130bf7b0eadbfa373bc /include/salhelper
parentfd0ca411ee6963d575e16397a7a11549a5ca2ebe (diff)
tdf#43157 - salhelper: convert from OSL_ASSERT to assert
Change-Id: I8691a627bbf78ce83db595053d6e254557641408 Reviewed-on: https://gerrit.libreoffice.org/38506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/salhelper')
-rw-r--r--include/salhelper/refobj.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/salhelper/refobj.hxx b/include/salhelper/refobj.hxx
index bb2f31bcd78f..1a646d4cb0fb 100644
--- a/include/salhelper/refobj.hxx
+++ b/include/salhelper/refobj.hxx
@@ -20,6 +20,8 @@
#ifndef INCLUDED_SALHELPER_REFOBJ_HXX
#define INCLUDED_SALHELPER_REFOBJ_HXX
+#include <cassert>
+
#include <sal/types.h>
#include <rtl/alloc.h>
#include <osl/diagnose.h>
@@ -85,7 +87,7 @@ protected:
*/
virtual ~ReferenceObject()
{
- OSL_ASSERT(m_nReferenceCount == 0);
+ assert(m_nReferenceCount == 0);
}
};