diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 09:42:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 09:42:49 +0100 |
commit | 2718b9b11afbac56ff39967317fb06bdb1298820 (patch) | |
tree | 12b8c0ed78179e180d139c43b87281fba3901dbb /framework | |
parent | e531e8abae9fef4bd3602b734d265c95e8146073 (diff) |
tweak assert
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/macros/debug/assertion.hxx | 8 |
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() ) \ } /*_____________________________________________________________________________________________________________ |