Kaydet (Commit) 86a3fe47 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#704049 Unchecked return value

Gold? broken since 3edb1dcd
June 26 2002 ?

Change-Id: I7f0bc4899070daff8329d6f66315956a7ed6084c
üst 34823ac1
...@@ -245,9 +245,10 @@ bool SwTOXSortTabBase::operator<( const SwTOXSortTabBase& rCmp ) ...@@ -245,9 +245,10 @@ bool SwTOXSortTabBase::operator<( const SwTOXSortTabBase& rCmp )
// Both pointers exist -> compare text // Both pointers exist -> compare text
// else -> compare AlternativeText // else -> compare AlternativeText
if( ( pEnd && pEndCmp ) || ( !pEnd && !pEndCmp ) ) if( ( pEnd && pEndCmp ) || ( !pEnd && !pEndCmp ) )
pTOXIntl->IsEqual( GetTxt(), GetLocale(), {
rCmp.GetTxt(), rCmp.GetLocale() ); return pTOXIntl->IsEqual( GetTxt(), GetLocale(),
rCmp.GetTxt(), rCmp.GetLocale() );
}
if( pEnd && !pEndCmp ) if( pEnd && !pEndCmp )
return true; return true;
} }
......
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