summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-04 20:25:54 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:54:58 +0100
commit83d8300b31948702f3c11dc14d4070501b108084 (patch)
tree769daf90c088fdbc1f8de898ebb3cdb94384727b /sw/source
parent889f274fcbd10c2e4ac2042d98ac420895e48d8f (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.hxx2
-rw-r--r--sw/source/filter/ww8/sortedarray.hxx2
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
}