summaryrefslogtreecommitdiff
path: root/i18npool/source/breakiterator/xdictionary.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:42:40 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:42:40 +0000
commit6cda4d36421d76af2387b21632cefc741dfd0164 (patch)
treec75b823b4b52397f021c5e9bf813fd98bc2d8e2a /i18npool/source/breakiterator/xdictionary.cxx
parentfb9ef8e4d1cddc86162ad43dcaf98f62a0a98996 (diff)
INTEGRATION: CWS warnings01 (1.11.2); FILE MERGED
2006/03/08 13:19:08 nn 1.11.2.2: #i53898# warning-free code 2005/11/10 10:14:59 pl 1.11.2.1: #i53898# removed warnings
Diffstat (limited to 'i18npool/source/breakiterator/xdictionary.cxx')
-rw-r--r--i18npool/source/breakiterator/xdictionary.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx
index 1f1dbfff46f2..105d33be7603 100644
--- a/i18npool/source/breakiterator/xdictionary.cxx
+++ b/i18npool/source/breakiterator/xdictionary.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xdictionary.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: kz $ $Date: 2005-11-01 14:52:31 $
+ * last change: $Author: hr $ $Date: 2006-06-20 04:42:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -68,15 +68,15 @@ xdictionary::xdictionary(const sal_Char *lang)
hModule = osl_loadModule( aBuf.makeStringAndClear().pData, SAL_LOADMODULE_DEFAULT );
if( hModule ) {
int (*func)();
- func = (int(*)()) osl_getSymbol( hModule, OUString::createFromAscii("getExistMark").pData );
+ func = (int(*)()) osl_getFunctionSymbol( hModule, OUString::createFromAscii("getExistMark").pData );
existMark = (sal_uInt8*) (*func)();
- func = (int(*)()) osl_getSymbol( hModule, OUString::createFromAscii("getIndex1").pData );
+ func = (int(*)()) osl_getFunctionSymbol( hModule, OUString::createFromAscii("getIndex1").pData );
index1 = (sal_Int16*) (*func)();
- func = (int(*)()) osl_getSymbol( hModule, OUString::createFromAscii("getIndex2").pData );
+ func = (int(*)()) osl_getFunctionSymbol( hModule, OUString::createFromAscii("getIndex2").pData );
index2 = (sal_Int32*) (*func)();
- func = (int(*)()) osl_getSymbol( hModule, OUString::createFromAscii("getLenArray").pData );
+ func = (int(*)()) osl_getFunctionSymbol( hModule, OUString::createFromAscii("getLenArray").pData );
lenArray = (sal_Int32*) (*func)();
- func = (int(*)()) osl_getSymbol( hModule, OUString::createFromAscii("getDataArea").pData );
+ func = (int(*)()) osl_getFunctionSymbol( hModule, OUString::createFromAscii("getDataArea").pData );
dataArea = (sal_Unicode*) (*func)();
}
else
@@ -105,7 +105,7 @@ void SAL_CALL xdictionary::setJapaneseWordBreak()
}
sal_Bool xdictionary::exists(const sal_Unicode c) {
- sal_Bool exist = existMark ? ((existMark[c>>3] & (1<<(c&0x07))) != 0) : sal_False;
+ sal_Bool exist = existMark ? sal::static_int_cast<sal_Bool>((existMark[c>>3] & (1<<(c&0x07))) != 0) : sal_False;
if (!exist && japaneseWordBreak)
return BreakIteratorImpl::getScriptClass(c) == ScriptType::ASIAN;
else