From f9eafe005ce2534256d194b27e8171cd70bc9e1e Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 15 Apr 2003 15:16:51 +0000 Subject: INTEGRATION: CWS dbgmacros1 (1.10.68); FILE MERGED 2003/04/09 10:54:45 kso 1.10.68.1: #108413# - debug macro unification. --- extensions/source/ole/oleobjw.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/source/ole/oleobjw.cxx') diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index 8b67c91a0103..a470cc8519e9 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -2,9 +2,9 @@ * * $RCSfile: oleobjw.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: jl $ $Date: 2002-09-13 06:23:08 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:16:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -177,7 +177,7 @@ IUnknownWrapper_Impl::~IUnknownWrapper_Impl() { MutexGuard guard(getBridgeMutex()); XInterface * xIntRoot = (OWeakObject *)this; -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 acquire(); // make sure we don't delete us twice because of Reference OSL_ASSERT( Reference( static_cast(this), UNO_QUERY).get() == xIntRoot ); #endif -- cgit v1.2.3