Cppcheck reports "Logical conjunction always evaluates to false" in text_gfx.cxx

Ivan Timofeev timofeev.i.s at gmail.com
Mon Mar 26 07:03:30 PDT 2012


Hi Julien,

On 24.03.2012 03:26, julien2412 wrote:
> Just for the update, is there anybody who could help about this ?

I am not expert, too, but looking at vcl/source/gdi/sallayout.cxx:115 
and http://www.unicode.org/charts/PDF/UFF00.pdf I'd say that the 
condition should be at least
   (nChar >= 0xff5b && nChar < 0xff64 )
                 ^
However, I do not know why this implementation (in text_gfx.cxx) differs 
from sallayout.cxx.

Regards,
Ivan


More information about the LibreOffice mailing list