summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 12:45:29 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 13:08:57 +0200
commit43cc37e6953840ec337125e30e1de398bd36f69d (patch)
tree29fb16d93bd099db7f160552187a51f5cdff49d2 /basctl
parenta8355cf0fc9e109a119ef680a09ba254464cc111 (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I2dc3d343058b6d77da30561ec4f62bdd292630dc
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/localizationmgr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/localizationmgr.cxx b/basctl/source/basicide/localizationmgr.cxx
index f7783efb6b1d..c8a393440094 100644
--- a/basctl/source/basicide/localizationmgr.cxx
+++ b/basctl/source/basicide/localizationmgr.cxx
@@ -658,7 +658,7 @@ void LocalizationMgr::handleRemoveLocales( const Sequence< Locale >& aLocaleSeq
{
const Locale* pLocales = aLocaleSeq.getConstArray();
sal_Int32 nLocaleCount = aLocaleSeq.getLength();
- bool bConsistant = true;
+ bool bConsistent = true;
bool bModified = false;
for( sal_Int32 i = 0 ; i < nLocaleCount ; i++ )
@@ -678,7 +678,7 @@ void LocalizationMgr::handleRemoveLocales( const Sequence< Locale >& aLocaleSeq
else
{
// Inconsistency, keep last locale
- bConsistant = false;
+ bConsistent = false;
bRemove = false;
}
}
@@ -692,7 +692,7 @@ void LocalizationMgr::handleRemoveLocales( const Sequence< Locale >& aLocaleSeq
}
catch(const IllegalArgumentException&)
{
- bConsistant = false;
+ bConsistent = false;
}
}
}
@@ -710,7 +710,7 @@ void LocalizationMgr::handleRemoveLocales( const Sequence< Locale >& aLocaleSeq
handleTranslationbar();
}
- DBG_ASSERT( bConsistant,
+ DBG_ASSERT( bConsistent,
"LocalizationMgr::handleRemoveLocales(): sequence contains unsupported locales" );
}