summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/app/scmod2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app/scmod2.cxx')
-rw-r--r--sc/source/ui/app/scmod2.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/app/scmod2.cxx b/sc/source/ui/app/scmod2.cxx
index c92f0bf5d206..9ac668b9d4a3 100644
--- a/sc/source/ui/app/scmod2.cxx
+++ b/sc/source/ui/app/scmod2.cxx
@@ -50,8 +50,8 @@ using namespace com::sun::star;
//------------------------------------------------------------------
// static
-void ScModule::GetSpellSettings( USHORT& rDefLang, USHORT& rCjkLang, USHORT& rCtlLang,
- BOOL& rAutoSpell )
+void ScModule::GetSpellSettings( sal_uInt16& rDefLang, sal_uInt16& rCjkLang, sal_uInt16& rCtlLang,
+ sal_Bool& rAutoSpell )
{
// use SvtLinguConfig instead of service LinguProperties to avoid
// loading the linguistic component
@@ -67,7 +67,7 @@ void ScModule::GetSpellSettings( USHORT& rDefLang, USHORT& rCjkLang, USHORT& rCt
}
// static
-void ScModule::SetAutoSpellProperty( BOOL bSet )
+void ScModule::SetAutoSpellProperty( sal_Bool bSet )
{
// use SvtLinguConfig instead of service LinguProperties to avoid
// loading the linguistic component
@@ -81,15 +81,15 @@ void ScModule::SetAutoSpellProperty( BOOL bSet )
// static
-BOOL ScModule::HasThesaurusLanguage( USHORT nLang )
+sal_Bool ScModule::HasThesaurusLanguage( sal_uInt16 nLang )
{
if ( nLang == LANGUAGE_NONE )
- return FALSE;
+ return sal_False;
lang::Locale aLocale;
SvxLanguageToLocale( aLocale, nLang );
- BOOL bHasLang = FALSE;
+ sal_Bool bHasLang = sal_False;
try
{
uno::Reference< linguistic2::XThesaurus > xThes(LinguMgr::GetThesaurus());