summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2001-03-21 13:30:52 +0000
committerJoachim Lingner <jl@openoffice.org>2001-03-21 13:30:52 +0000
commita434f371001fca5a88cfe5d57f5118143cc6bc95 (patch)
treee421964425f1fb9d0266ca1d970169cecbe98c36 /framework
parent730d9ab61ff203cb79a1cf1a8d3bfad82715d73c (diff)
OSL_ENSHURE replaced by OSL_ENSURE
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/macros/debug/assertion.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/inc/macros/debug/assertion.hxx b/framework/inc/macros/debug/assertion.hxx
index 1f4a9fc876c1..98b15f299e87 100644
--- a/framework/inc/macros/debug/assertion.hxx
+++ b/framework/inc/macros/debug/assertion.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: assertion.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: as $ $Date: 2001-03-09 14:42:24 $
+ * last change: $Author: jl $ $Date: 2001-03-21 14:30:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -158,14 +158,14 @@
/*_____________________________________________________________________________________________________________
LOG_ASSERT( BCONDITION, STEXT )
- Forward assertions to messagebox. (We use OSL_ENSHURE to do this.)
+ Forward assertions to messagebox. (We use OSL_ENSURE to do this.)
Set LOGTYPE to LOGTYPE_MESSAGEBOX to do this.
BCONDITION is inserted in "(...)" because user can call this macro with an complex expression!
_____________________________________________________________________________________________________________*/
#if LOGTYPE==LOGTYPE_MESSAGEBOX
#define LOG_ASSERT( BCONDITION, STEXT ) \
- OSL_ENSHURE( ( BCONDITION ), STEXT );
+ OSL_ENSURE( ( BCONDITION ), STEXT );
#define LOG_ASSERT2( BCONDITION, SMETHOD, STEXT ) \
{ \
@@ -175,7 +175,7 @@
sBuffer.append( "\n\t\"" ); \
sBuffer.append( STEXT ); \
sBuffer.append( "\"\n" ); \
- OSL_ENSHURE( !( BCONDITION ), sBuffer.makeStringAndClear().getStr() ); \
+ OSL_ENSURE( !( BCONDITION ), sBuffer.makeStringAndClear().getStr() ); \
}
#endif