summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorJürgen Schmidt <jsc@apache.org>2011-11-28 14:03:39 +0000
committerJürgen Schmidt <jsc@apache.org>2011-11-28 14:03:39 +0000
commit92b6636bf0cd77e58132ed93cca4cb93a2e00ab5 (patch)
tree173fefe4bd11f75e0f437640fcde8e1406fc65a1 /lingucomponent
parent910260f0b5214b1b5fc56da345297f5593022e9e (diff)
118628: minor changes to make the spellchecker working on MacOS, fix compile errors and dependency to hunspell, thanks arielch for a patch
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx
index b78461a9e565..53f0720cd6c6 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx
@@ -52,7 +52,6 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
-
MacSpellChecker::MacSpellChecker() :
aEvtListeners ( GetLinguMutex() )
{
@@ -110,14 +109,15 @@ Sequence< Locale > SAL_CALL MacSpellChecker::getLocales()
int numusr; // number of user dictionary entries
int numshr; // number of shared dictionary entries
- dictentry * spdict; // shared dict entry pointer
- dictentry * updict; // user dict entry pointer
+ // dictentry * spdict; // shared dict entry pointer
+ // dictentry * updict; // user dict entry pointer
SvtPathOptions aPathOpt;
rtl_TextEncoding aEnc = RTL_TEXTENCODING_UTF8;
std::vector<objc_object *> postspdict;
+ std::vector<objc_object *> postupdict;
//std::vector<dictentry *> postspdict;
- std::vector<dictentry *> postupdict;
+ //std::vector<dictentry *> postupdict;
if (!numdict) {
@@ -199,8 +199,8 @@ Sequence< Locale > SAL_CALL MacSpellChecker::getLocales()
}
/* de-allocation of memory is handled inside the DictMgr */
- updict = NULL;
- spdict = NULL;
+ // updict = NULL;
+ // spdict = NULL;
}