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

coverity#1338231 Unchecked return value

Change-Id: I76161e87adc70fb8ae94c5c4cc7157b95f76b6f7
üst 82deca07
...@@ -751,7 +751,7 @@ void FormatLine(UCHAR* TBuf, sal_uInt16& Index, ObjTextType& Atr0, ObjTextType& ...@@ -751,7 +751,7 @@ void FormatLine(UCHAR* TBuf, sal_uInt16& Index, ObjTextType& Atr0, ObjTextType&
} while (!(AbsEnd || (Border && ((WordEndCnt>0) || WordEnd || Trenn)))); } while (!(AbsEnd || (Border && ((WordEndCnt>0) || WordEnd || Trenn))));
while (WErec0->Index<WErec->Index) { // to assure Line[] matches } while (WErec0->Index<WErec->Index) { // to assure Line[] matches }
ProcessChar(*vOut.get(),TBuf,*WErec0,Atr0,WEnChar0,WEnChar-WEnChar0-1,Line,cLine); (void)ProcessChar(*vOut.get(),TBuf,*WErec0,Atr0,WEnChar0,WEnChar-WEnChar0-1,Line,cLine);
} }
(*R)=(*WErec); nChars=WEnChar; (*R)=(*WErec); nChars=WEnChar;
......
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