summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-20 10:12:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-20 11:55:06 +0100
commita5f629fa8edb73e5d74350b3c2d102ae37128382 (patch)
tree612aadb61fddfa67ec443d336c5ac325e8f35195 /linguistic
parent6c719c1585eb1a2dbab86cc73ff871da41765981 (diff)
WaE: MSVC2008 C2220 unsafe mix of types in operation
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/hyphdsp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx
index dd881be88bbe..5a17e927e786 100644
--- a/linguistic/source/hyphdsp.cxx
+++ b/linguistic/source/hyphdsp.cxx
@@ -272,7 +272,7 @@ Reference< XHyphenatedWord > SAL_CALL
HyphSvcByLangMap_t::iterator aIt( aSvcMap.find( nLanguage ) );
LangSvcEntries_Hyph *pEntry = aIt != aSvcMap.end() ? aIt->second.get() : NULL;
- sal_Bool bWordModified = sal_False;
+ bool bWordModified = false;
if (!pEntry || (nMaxLeading < 0 || nMaxLeading > nWordLen))
{
#ifdef LINGU_EXCEPTIONS
@@ -413,7 +413,7 @@ Reference< XHyphenatedWord > SAL_CALL
HyphSvcByLangMap_t::iterator aIt( aSvcMap.find( nLanguage ) );
LangSvcEntries_Hyph *pEntry = aIt != aSvcMap.end() ? aIt->second.get() : NULL;
- sal_Bool bWordModified = sal_False;
+ bool bWordModified = false;
if (!pEntry || !(0 <= nIndex && nIndex <= nWordLen - 2))
{
#ifdef LINGU_EXCEPTIONS