Kaydet (Commit) a5f629fa authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: MSVC2008 C2220 unsafe mix of types in operation

üst 6c719c15
...@@ -272,7 +272,7 @@ Reference< XHyphenatedWord > SAL_CALL ...@@ -272,7 +272,7 @@ Reference< XHyphenatedWord > SAL_CALL
HyphSvcByLangMap_t::iterator aIt( aSvcMap.find( nLanguage ) ); HyphSvcByLangMap_t::iterator aIt( aSvcMap.find( nLanguage ) );
LangSvcEntries_Hyph *pEntry = aIt != aSvcMap.end() ? aIt->second.get() : NULL; LangSvcEntries_Hyph *pEntry = aIt != aSvcMap.end() ? aIt->second.get() : NULL;
sal_Bool bWordModified = sal_False; bool bWordModified = false;
if (!pEntry || (nMaxLeading < 0 || nMaxLeading > nWordLen)) if (!pEntry || (nMaxLeading < 0 || nMaxLeading > nWordLen))
{ {
#ifdef LINGU_EXCEPTIONS #ifdef LINGU_EXCEPTIONS
...@@ -413,7 +413,7 @@ Reference< XHyphenatedWord > SAL_CALL ...@@ -413,7 +413,7 @@ Reference< XHyphenatedWord > SAL_CALL
HyphSvcByLangMap_t::iterator aIt( aSvcMap.find( nLanguage ) ); HyphSvcByLangMap_t::iterator aIt( aSvcMap.find( nLanguage ) );
LangSvcEntries_Hyph *pEntry = aIt != aSvcMap.end() ? aIt->second.get() : NULL; 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)) if (!pEntry || !(0 <= nIndex && nIndex <= nWordLen - 2))
{ {
#ifdef LINGU_EXCEPTIONS #ifdef LINGU_EXCEPTIONS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment