summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-05 09:42:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-05 09:42:49 +0100
commit2718b9b11afbac56ff39967317fb06bdb1298820 (patch)
tree12b8c0ed78179e180d139c43b87281fba3901dbb
parente531e8abae9fef4bd3602b734d265c95e8146073 (diff)
tweak assert
-rw-r--r--framework/inc/macros/debug/assertion.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/inc/macros/debug/assertion.hxx b/framework/inc/macros/debug/assertion.hxx
index 5f4e3097e22e..b13505ed1ccc 100644
--- a/framework/inc/macros/debug/assertion.hxx
+++ b/framework/inc/macros/debug/assertion.hxx
@@ -97,7 +97,7 @@
_sAssertBuffer.append( "\n\t\"" ); \
_sAssertBuffer.append( STEXT ); \
_sAssertBuffer.append( "\"\n" ); \
- WRITE_LOGFILE( LOGFILE_ASSERTIONS, _sAssertBuffer.makeStringAndClear() ) \
+ WRITE_LOGFILE( LOGFILE_ASSERTIONS, _sAssertBuffer.getStr() ) \
}
#endif
@@ -128,7 +128,7 @@
_sAssertBuffer.append( "\n\t\"" ); \
_sAssertBuffer.append( STEXT ); \
_sAssertBuffer.append( "\"\n" ); \
- WRITE_LOGFILE( LOGFILE_ASSERTIONS, _sAssertBuffer.makeStringAndClear() ) \
+ WRITE_LOGFILE( LOGFILE_ASSERTIONS, _sAssertBuffer.getStr() ) \
exit(-1); \
}
@@ -155,7 +155,7 @@
_sAssertBuffer.append( "\n\t\"" ); \
_sAssertBuffer.append( STEXT ); \
_sAssertBuffer.append( "\"\n" ); \
- OSL_ENSURE( !( BCONDITION ), _sAssertBuffer.makeStringAndClear() ); \
+ OSL_ENSURE( !( BCONDITION ), _sAssertBuffer.getStr() ); \
}
#endif
@@ -205,7 +205,7 @@
_sAssertBuffer2.append( SOWNMESSAGE ); \
_sAssertBuffer2.append( "\n" ); \
_sAssertBuffer2.append( U2B(SEXCEPTIONMESSAGE) ); \
- LOG_ERROR( SMETHOD, _sAssertBuffer2.makeStringAndClear() ) \
+ LOG_ERROR( SMETHOD, _sAssertBuffer2.getStr() ) \
}
/*_____________________________________________________________________________________________________________