diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-24 09:46:19 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-24 09:46:19 +0000 |
commit | 6099bfa43a7cc55228aca3dee4c66d8bc18eaa34 (patch) | |
tree | aa66e7bc1d4032f4df409f6b193cdd973abad9e2 /sot/source | |
parent | 3c2676c7c166a90e2668a67af432091c03898abf (diff) |
INTEGRATION: CWS sb56 (1.91.4); FILE MERGED
2006/07/26 14:35:34 sb 1.91.4.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index 1942960452e8..889a3641a45a 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ucbstorage.cxx,v $ * - * $Revision: 1.91 $ + * $Revision: 1.92 $ * - * last change: $Author: kz $ $Date: 2006-07-06 14:35:25 $ + * last change: $Author: ihi $ $Date: 2006-08-24 10:46:19 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -969,7 +969,7 @@ ULONG UCBStorageStream_Impl::ReadSourceWriteTemporary() #if OSL_DEBUG_LEVEL > 1 catch( Exception & e ) { - DBG_ASSERT( FALSE, ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); + OSL_ENSURE( FALSE, ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); #else catch( Exception & ) { @@ -1012,7 +1012,7 @@ ULONG UCBStorageStream_Impl::ReadSourceWriteTemporary( ULONG aLength ) #if OSL_DEBUG_LEVEL > 1 catch( Exception & e ) { - DBG_ASSERT( FALSE, ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); + OSL_ENSURE( FALSE, ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); #else catch( Exception & ) { @@ -1089,7 +1089,7 @@ ULONG UCBStorageStream_Impl::GetData( void* pData, ULONG nSize ) #if OSL_DEBUG_LEVEL > 1 catch( Exception & e ) { - DBG_ASSERT( FALSE, ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); + OSL_ENSURE( FALSE, ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); #else catch( Exception & ) { |