diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-24 09:51:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-24 15:29:52 +0000 |
commit | 89f057a09d8684f697a822662907cfede7ef0a3f (patch) | |
tree | 86ee58acdc9bc88a8d92826ec8582b046a910653 /lingucomponent/source/spellcheck/macosxspell | |
parent | 56d168cc59a352ec432e09b8ba471b858387023c (diff) |
ditch dbg_dump
Diffstat (limited to 'lingucomponent/source/spellcheck/macosxspell')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx index 336b37363514..3f7cc2d8ba17 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx @@ -61,37 +61,6 @@ using ::rtl::OUStringBuffer; using ::rtl::OUStringToOString; /////////////////////////////////////////////////////////////////////////// -// dbg_dump for development -#if OSL_DEBUG_LEVEL > 1 -#include <rtl/strbuf.hxx> -#include <rtl/ustring.hxx> - -const sal_Char *dbg_dump(const rtl::OString &rStr) -{ - static rtl::OStringBuffer aStr; - - aStr = rtl::OStringBuffer(rStr); - aStr.append(static_cast<char>(0)); - return aStr.getStr(); -} - -const sal_Char *dbg_dump(const rtl::OUString &rStr) -{ - return dbg_dump(rtl::OUStringToOString(rStr, RTL_TEXTENCODING_UTF8)); -} - -const sal_Char *dbg_dump(rtl_String *pStr) -{ - return dbg_dump(rtl::OString(pStr)); -} - -const sal_Char *dbg_dump(rtl_uString *pStr) -{ - return dbg_dump(rtl::OUString(pStr)); -} - -#endif -/////////////////////////////////////////////////////////////////////////// MacSpellChecker::MacSpellChecker() : aEvtListeners ( GetLinguMutex() ) |