diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-04 20:25:54 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:54:58 +0100 |
commit | 83d8300b31948702f3c11dc14d4070501b108084 (patch) | |
tree | 769daf90c088fdbc1f8de898ebb3cdb94384727b /sw/source | |
parent | 889f274fcbd10c2e4ac2042d98ac420895e48d8f (diff) |
Move DBG_ERROR to OSL_FAIL and correct OString usage
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/hash_wrap.hxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/sortedarray.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/hash_wrap.hxx b/sw/source/filter/ww8/hash_wrap.hxx index 5d665fb6eaa3..e89392f22cbf 100644 --- a/sw/source/filter/ww8/hash_wrap.hxx +++ b/sw/source/filter/ww8/hash_wrap.hxx @@ -111,7 +111,7 @@ namespace ww } if (bBroken) { - DBG_ERROR(rtl::OUStringToOString(sError, RTL_TEXTENCODING_ASCII_US)); + OSL_FAIL( rtl::OUStringToOString( sError, RTL_TEXTENCODING_ASCII_US ).getStr() ); } #endif } diff --git a/sw/source/filter/ww8/sortedarray.hxx b/sw/source/filter/ww8/sortedarray.hxx index a4d959ed1d74..2e8d53e21661 100644 --- a/sw/source/filter/ww8/sortedarray.hxx +++ b/sw/source/filter/ww8/sortedarray.hxx @@ -108,7 +108,7 @@ namespace ww } if (bBroken) { - DBG_ERROR(rtl::OUStringToOString(sError, RTL_TEXTENCODING_ASCII_US)); + OSL_FAIL( rtl::OUStringToOString( sError, RTL_TEXTENCODING_ASCII_US ).getStr() ); } #endif } |