Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found 
with Coverity Scan.

1 new defect(s) introduced to LibreOffice found with Coverity Scan.
7 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent 
build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1497868:  Control flow issues  (DEADCODE)
/sc/source/ui/view/tabview3.cxx: 2394 in ScTabView::PaintArea(short, int, 
short, int, ScUpdateMode)()


________________________________________________________________________________________________________
*** CID 1497868:  Control flow issues  (DEADCODE)
/sc/source/ui/view/tabview3.cxx: 2394 in ScTabView::PaintArea(short, int, 
short, int, ScUpdateMode)()
2388                     // the width of the embedded text.
2389                     // Anyway, clients will ask only for tiles that 
overlaps
2390                     // the visible area.
2391                     // Remember that wsd expects int and that aEnd.X() is
2392                     // in pixels and will be converted in twips, before 
performing
2393                     // the lok callback, so we need to avoid that an 
overflow occurs.
>>>     CID 1497868:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "bLayoutRTL" inside this 
>>> statement: "aEnd.setX(((!bIsTiledRender...".
2394                     aEnd.setX( (!bIsTiledRendering && bLayoutRTL) ? 0 : 
std::numeric_limits<int>::max() / 1000 );
2395                 }
2396                 else
2397                 {
2398                     aEnd.setX( (!bIsTiledRendering && bLayoutRTL) ? 0 : 
pGridWin[i]->GetOutputSizePixel().Width() );
2399                 }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DXML-_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJifv7nWhHTqPuUeTFDuCfkA-2FnbLXrmcqWiEROiN-2F1PupstMkH3lsx339vDwDogHwCrWYaXSuyYPZ7ryfnjVzA21y4HLKh5Nc19u6CtP1RCIwcT9OsdKL-2BT-2FDX5NIHUVoVF-2FzRfVKOylRem-2FFn6Fa7CE1dZzddz0JIo5opDkGbnvXo-3D

Reply via email to