diff options
author | Mathias Bauer <mba@openoffice.org> | 2009-10-26 17:41:29 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2009-10-26 17:41:29 +0100 |
commit | da28dfe9e7bafb2e812bfb99cf037a38cdbba8a6 (patch) | |
tree | af1a9b94f539934606919c6c8da580542981ac0e /sw/source/core/doc/dbgoutsw.cxx | |
parent | bddae854e8d787f0ef2036a4effe75abb3d06635 (diff) | |
parent | f71bb16fc284f022a844b575a8db75be7a4aafb1 (diff) |
merge commit for m62
Diffstat (limited to 'sw/source/core/doc/dbgoutsw.cxx')
-rw-r--r-- | sw/source/core/doc/dbgoutsw.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx index af491771ae06..d35c340975cb 100644 --- a/sw/source/core/doc/dbgoutsw.cxx +++ b/sw/source/core/doc/dbgoutsw.cxx @@ -111,6 +111,11 @@ SW_DLLPUBLIC const char * dbg_out(const String & aStr) return aDbgOutResult.GetBuffer(); } +SW_DLLPUBLIC const char * dbg_out(const ::rtl::OUString & aStr) +{ + return OUStringToOString(aStr, RTL_TEXTENCODING_ASCII_US).getStr(); +} + struct CompareUShort { @@ -1084,9 +1089,9 @@ String lcl_dbg_out(const SwNodeRange & rRange) { String aStr("[", RTL_TEXTENCODING_ASCII_US); - aStr += lcl_dbg_out(rRange.aStart); + aStr += lcl_dbg_out(SwPosition(rRange.aStart)); aStr += String(", ", RTL_TEXTENCODING_ASCII_US); - aStr += lcl_dbg_out(rRange.aEnd); + aStr += lcl_dbg_out(SwPosition(rRange.aEnd)); aStr += String("]" , RTL_TEXTENCODING_ASCII_US); |