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
commitf9273f454bf18ee9451b8d5dc844fc8ea6e43c95 (patch)
treeedcc3041cf6c7234a3b42d3f54fea5cdc5c83cda /xmloff
parent5bc917e58e4ae486046151741e12488d83aa293c (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 6ff8a5d09fd4..e9b2122534cf 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
}