diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-02 22:12:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-03 12:14:59 +0000 |
commit | 87b8377ab22fbcf444f7c8349e69ad1a77f03f6b (patch) | |
tree | d631bf33dbce62cb656ca0dca7ae88591629ac33 /sw/source/core/doc/dbgoutsw.cxx | |
parent | 4373ecda6a3f977f449be3844f7d0e9c63873cf5 (diff) |
ByteString->rtl::OString
Diffstat (limited to 'sw/source/core/doc/dbgoutsw.cxx')
-rw-r--r-- | sw/source/core/doc/dbgoutsw.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx index a5cd9a50a343..12edea05680d 100644 --- a/sw/source/core/doc/dbgoutsw.cxx +++ b/sw/source/core/doc/dbgoutsw.cxx @@ -58,7 +58,7 @@ using namespace std; -static ByteString aDbgOutResult; +static rtl::OString aDbgOutResult; bool bDbgOutStdErr = false; bool bDbgOutPrintAttrSet = false; @@ -103,7 +103,7 @@ SW_DLLPUBLIC const char * dbg_out(const void * pVoid) SW_DLLPUBLIC const char * dbg_out(const String & aStr) { - aDbgOutResult = ByteString(aStr, RTL_TEXTENCODING_ASCII_US); + aDbgOutResult = rtl::OUStringToOString(aStr, RTL_TEXTENCODING_ASCII_US); if (bDbgOutStdErr) fprintf(stderr, "%s", aDbgOutResult.GetBuffer()); @@ -113,7 +113,7 @@ SW_DLLPUBLIC const char * dbg_out(const String & aStr) SW_DLLPUBLIC const char * dbg_out(const ::rtl::OUString & aStr) { - aDbgOutResult = ByteString( rtl::OUStringToOString( aStr, RTL_TEXTENCODING_ASCII_US ) ); + aDbgOutResult = rtl::OUStringToOString(aStr, RTL_TEXTENCODING_ASCII_US); return aDbgOutResult.GetBuffer(); } |