summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-03 13:01:13 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:40 +0100
commit079228d8642177a83c49de15b0c1352ee38d9d7b (patch)
tree17d6e26938ccb6bbe5b60ab52fce15ed47dd804d /xmloff
parent97a762bb4f0aa51c20d858eb5b56c35dbb9044d0 (diff)
Move DBG_ERROR to OSL_FAIL for strings GetBuffer()
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlerror.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index 91247b08fc..e7ad515935 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -195,7 +195,7 @@ void XMLErrors::AddRecord(
// convert to byte string and signal the error
ByteString aError( String( sMessage.makeStringAndClear() ),
RTL_TEXTENCODING_ASCII_US );
- DBG_ERROR( aError.GetBuffer() );
+ OSL_FAIL( aError.GetBuffer() );
#endif
}