summaryrefslogtreecommitdiffstats
path: root/salhelper/source
diff options
context:
space:
mode:
Diffstat (limited to 'salhelper/source')
-rw-r--r--salhelper/source/simplereferenceobject.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/salhelper/source/simplereferenceobject.cxx b/salhelper/source/simplereferenceobject.cxx
index 72e31c429cdc..fcf130d9d192 100644
--- a/salhelper/source/simplereferenceobject.cxx
+++ b/salhelper/source/simplereferenceobject.cxx
@@ -17,24 +17,24 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "salhelper/simplereferenceobject.hxx"
-#include "osl/diagnose.h"
+#include <salhelper/simplereferenceobject.hxx>
+#include <cassert>
#include <new>
using salhelper::SimpleReferenceObject;
SimpleReferenceObject::~SimpleReferenceObject()
{
- OSL_ASSERT(m_nCount == 0);
+ assert(m_nCount == 0);
}
-void * SimpleReferenceObject::operator new(std::size_t nSize)
+void *SimpleReferenceObject::operator new(std::size_t nSize)
{
return ::operator new(nSize);
}
-void * SimpleReferenceObject::operator new(std::size_t nSize,
+void *SimpleReferenceObject::operator new(std::size_t nSize,
std::nothrow_t const &)
{
#if defined(_WIN32)