diff options
author | Sander Vesik <svesik@openoffice.org> | 2002-07-29 16:28:22 +0000 |
---|---|---|
committer | Sander Vesik <svesik@openoffice.org> | 2002-07-29 16:28:22 +0000 |
commit | 779ea694af5eaf155ee24c8357e9b27a78046e6e (patch) | |
tree | 5efb6d05d70ecd3ec8102bb4088bc87c0adab543 /lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.hxx | |
parent | 4a3dd2fe99714c38fdf549dddbfb03530ceb3740 (diff) |
Merge from OOO_STABLE_1
Diffstat (limited to 'lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.hxx')
-rw-r--r-- | lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.hxx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.hxx b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.hxx index 2edbd43e7f28..3c7d744437fa 100644 --- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.hxx +++ b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.hxx @@ -2,9 +2,9 @@ * * $RCSfile: hyphenimp.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: nidd $ $Date: 2001-12-25 08:24:12 $ + * last change: $Author: svesik $ $Date: 2002-07-29 17:28:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -105,10 +105,19 @@ using namespace ::com::sun::star::linguistic2; #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).getStr() + /////////////////////////////////////////////////////////////////////////// -DECLARE_TABLE(HyphDictList, HyphenDict * ); +struct HDInfo { + HyphenDict * aPtr; + OUString aName; + Locale aLoc; + rtl_TextEncoding aEnc; +}; + + class Hyphenator : public cppu::WeakImplHelper6 @@ -122,7 +131,8 @@ class Hyphenator : > { Sequence< Locale > aSuppLocales; - HyphDictList aOpenedDicts; + HDInfo * aDicts; + sal_Int32 numdict; ::cppu::OInterfaceContainerHelper aEvtListeners; Reference< XPropertyChangeListener > xPropHelper; |