diff options
Diffstat (limited to 'lingucomponent/source/spellcheck')
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.hxx | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.hxx b/lingucomponent/source/spellcheck/spell/sspellimp.hxx index 01b7c9e15..4e20a0141 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx @@ -4,9 +4,9 @@ * * $RCSfile: sspellimp.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: kz $ $Date: 2006-01-06 13:13:16 $ + * last change: $Author: obo $ $Date: 2008-03-25 16:51:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -60,6 +60,7 @@ #include <tools/table.hxx> #endif +#include <lingutil.hxx> #include <linguistic/misc.hxx> #include "sprophelp.hxx" @@ -70,17 +71,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::linguistic2; -#define A2OU(x) ::rtl::OUString::createFromAscii( x ) - -#define OU2A(rtlOUString) ::rtl::OString((rtlOUString).getStr(), (rtlOUString).getLength(), RTL_TEXTENCODING_ASCII_US).getStr() - -#define OU2UTF8(rtlOUString) ::rtl::OString((rtlOUString).getStr(), (rtlOUString).getLength(), RTL_TEXTENCODING_UTF8).getStr() - -#define OU2ISO_1(rtlOUString) ::rtl::OString((rtlOUString).getStr(), (rtlOUString).getLength(), RTL_TEXTENCODING_ISO_8859_1).getStr() - -#define OU2ENC(rtlOUString, rtlEncoding) ::rtl::OString((rtlOUString).getStr(), (rtlOUString).getLength(), rtlEncoding, RTL_UNICODETOTEXT_FLAGS_UNDEFINED_QUESTIONMARK).getStr() - - /////////////////////////////////////////////////////////////////////////// |