summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 16:11:07 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 16:11:07 +0000
commit515954008165f1a85a1c2e48d3d08c749665fc41 (patch)
tree2efc6a00c8d1bf31fb68be1992cd6f76fac7a9c1
parente3c9f1cc10bd227bbd3d05dcf3994eeb38d9e7c5 (diff)
INTEGRATION: CWS dbgmacros1 (1.7.22.1.16); FILE MERGED
2003/04/09 10:52:33 kso 1.7.22.1.16.1: #108413# - debug macro unification.
-rw-r--r--dtrans/source/win32/dtobj/DTransHelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dtrans/source/win32/dtobj/DTransHelper.cxx b/dtrans/source/win32/dtobj/DTransHelper.cxx
index 832883b2ccd6..91e71004bf91 100644
--- a/dtrans/source/win32/dtobj/DTransHelper.cxx
+++ b/dtrans/source/win32/dtobj/DTransHelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DTransHelper.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hr $ $Date: 2003-03-25 14:05:36 $
+ * last change: $Author: vg $ $Date: 2003-04-15 17:11:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -110,7 +110,7 @@ void SAL_CALL CStgTransferHelper::write( const void* lpData, ULONG cb, ULONG* cb
if ( FAILED( hr ) )
throw CStgTransferException( hr );
-#ifdef _DEBUG
+#if OSL_DEBUG_LEVEL > 0
HGLOBAL hGlob;
hr = GetHGlobalFromStream( m_lpStream, &hGlob );
OSL_ASSERT( SUCCEEDED( hr ) );
@@ -192,7 +192,7 @@ void SAL_CALL CStgTransferHelper::init( SIZE_T newSize,
throw CStgTransferException( hr );
}
-#ifdef _DEBUG
+#if OSL_DEBUG_LEVEL > 0
STATSTG statstg;
hr = m_lpStream->Stat( &statstg, STATFLAG_DEFAULT );
OSL_ASSERT( SUCCEEDED( hr ) );