summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 16:11:18 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 16:11:18 +0000
commit6af2bbbfa24a516aebc920ff9460e1ecd512178d (patch)
tree83c616513f010b07423e05ed7b6b97213ceb9597 /dtrans
parent515954008165f1a85a1c2e48d3d08c749665fc41 (diff)
INTEGRATION: CWS dbgmacros1 (1.18.36); FILE MERGED
2003/04/09 10:52:34 kso 1.18.36.1: #108413# - debug macro unification.
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/dtobj/XTDataObject.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx
index 0e02ae637597..dbc412759f5d 100644
--- a/dtrans/source/win32/dtobj/XTDataObject.cxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XTDataObject.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: ka $ $Date: 2002-07-20 08:41:20 $
+ * last change: $Author: vg $ $Date: 2003-04-15 17:11:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -248,12 +248,12 @@ void SAL_CALL CXTDataObject::renderDataAndSetupStgMedium(
if ( nInitStgSize > 0 )
stgTransfHelper.init( nInitStgSize, GHND );
-#ifndef _DEBUG
- stgTransfHelper.write( lpStorage, nBytesToTransfer );
-#else
+#if OSL_DEBUG_LEVEL > 0
sal_uInt32 nBytesWritten = 0;
stgTransfHelper.write( lpStorage, nBytesToTransfer, &nBytesWritten );
OSL_ASSERT( nBytesWritten == nBytesToTransfer );
+#else
+ stgTransfHelper.write( lpStorage, nBytesToTransfer );
#endif
setupStgMedium( fetc, stgTransfHelper, stgmedium );