Fix merge from OOO_STABLE_1
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: hyphenimp.cxx,v $
|
||||
*
|
||||
* $Revision: 1.4 $
|
||||
* $Revision: 1.5 $
|
||||
*
|
||||
* last change: $Author: svesik $ $Date: 2002-07-29 17:28:00 $
|
||||
* last change: $Author: svesik $ $Date: 2002-07-29 17:51:48 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -388,8 +388,6 @@ Hyphenator::hyphenate( const ::rtl::OUString& aWord,
|
||||
OString uTmp(OU2ENC(userdictpath + DictFN,osl_getThreadTextEncoding()));
|
||||
OString sTmp(OU2ENC(dictpath + DictFN,osl_getThreadTextEncoding()));
|
||||
|
||||
rtl_TextEncoding DictionaryEnc = L2TE( LocaleToLanguage( aLocale ) );
|
||||
|
||||
if ( ( dict = hnj_hyphen_load ( uTmp.getStr() ) ) == NULL )
|
||||
if ( ( dict = hnj_hyphen_load ( sTmp.getStr()) ) == NULL )
|
||||
{
|
||||
@@ -483,7 +481,6 @@ Reference< XPossibleHyphens > SAL_CALL
|
||||
rtl_TextEncoding aEnc;
|
||||
|
||||
Reference< XPossibleHyphens > xRes;
|
||||
|
||||
k = -1;
|
||||
for (int j = 0; j < numdict; j++)
|
||||
if (aLocale == aDicts[j].aLoc) k = j;
|
||||
@@ -525,7 +522,6 @@ Reference< XPossibleHyphens > SAL_CALL
|
||||
dict = aDicts[k].aPtr;
|
||||
aEnc = aDicts[k].aEnc;
|
||||
|
||||
|
||||
OString encWord(OU2ENC(aWord, aEnc));
|
||||
|
||||
wordlen = encWord.getLength();
|
||||
|
Reference in New Issue
Block a user