summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-11-09 09:57:58 +0100
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-11-12 14:25:10 +0100
commit75d38d0735f17549da5e4ec038f97478236c3048 (patch)
tree8517977b99403d1e7e64bfa56744457fb606ad8d /sw
parent54d571c3d6cb730663a8743d64a6098c29008a3f (diff)
sw: fixed the dbglevel>1 build: GetBuffer() -> getStr()
Diffstat (limited to 'sw')
-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();
}