diff options
Diffstat (limited to 'linguistic/source/hhconvdic.cxx')
-rw-r--r-- | linguistic/source/hhconvdic.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linguistic/source/hhconvdic.cxx b/linguistic/source/hhconvdic.cxx index 207284230b4c..1496f50dece8 100644 --- a/linguistic/source/hhconvdic.cxx +++ b/linguistic/source/hhconvdic.cxx @@ -88,13 +88,13 @@ sal_Int16 SAL_CALL checkScriptType(sal_Unicode c) throw (RuntimeException) -BOOL TextIsAllScriptType( const OUString &rTxt, INT16 nScriptType ) +sal_Bool TextIsAllScriptType( const OUString &rTxt, sal_Int16 nScriptType ) { - BOOL bIsAll = TRUE; - for (INT32 i = 0; i < rTxt.getLength() && bIsAll; ++i) + sal_Bool bIsAll = sal_True; + for (sal_Int32 i = 0; i < rTxt.getLength() && bIsAll; ++i) { if (checkScriptType( rTxt.getStr()[i]) != nScriptType) - bIsAll = FALSE; + bIsAll = sal_False; } return bIsAll; } @@ -103,7 +103,7 @@ BOOL TextIsAllScriptType( const OUString &rTxt, INT16 nScriptType ) /////////////////////////////////////////////////////////////////////////// HHConvDic::HHConvDic( const String &rName, const String &rMainURL ) : - ConvDic( rName, LANGUAGE_KOREAN, ConversionDictionaryType::HANGUL_HANJA, TRUE, rMainURL ) + ConvDic( rName, LANGUAGE_KOREAN, ConversionDictionaryType::HANGUL_HANJA, sal_True, rMainURL ) { } |