summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/dbgoutsw.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
index 12edea05680d..d595b5171df4 100644
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -106,15 +106,15 @@ SW_DLLPUBLIC const char * dbg_out(const String & aStr)
aDbgOutResult = rtl::OUStringToOString(aStr, RTL_TEXTENCODING_ASCII_US);
if (bDbgOutStdErr)
- fprintf(stderr, "%s", aDbgOutResult.GetBuffer());
+ fprintf(stderr, "%s", aDbgOutResult.getStr());
- return aDbgOutResult.GetBuffer();
+ return aDbgOutResult.getStr();
}
SW_DLLPUBLIC const char * dbg_out(const ::rtl::OUString & aStr)
{
aDbgOutResult = rtl::OUStringToOString(aStr, RTL_TEXTENCODING_ASCII_US);
- return aDbgOutResult.GetBuffer();
+ return aDbgOutResult.getStr();
}