Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index



Hi,

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

2 new defect(s) introduced to LibreOffice found with Coverity Scan.
8 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 2 of 2 defect(s)


** CID 1359915:  Control flow issues  (MISSING_BREAK)
/sd/source/ui/view/drviews7.cxx: 1687 in sd::DrawViewShell::GetPageProperties(SfxItemSet &)()


________________________________________________________________________________________________________
*** CID 1359915:  Control flow issues  (MISSING_BREAK)
/sd/source/ui/view/drviews7.cxx: 1687 in sd::DrawViewShell::GetPageProperties(SfxItemSet &)()
1681                     const XFillHatchItem *pFillHatchItem( static_cast<const XFillHatchItem*>( 
aMergedAttr.GetItem( XATTR_FILLHATCH ) ) );
1682                     XFillHatchItem aFillHatchItem( pFillHatchItem->GetName(), 
pFillHatchItem->GetHatchValue());
1683                     aFillHatchItem.SetWhich( SID_ATTR_PAGE_HATCH );
1684                     rSet.Put( aFillHatchItem );
1685                 }
1686     
    CID 1359915:  Control flow issues  (MISSING_BREAK)
    The above case falls through to this one.
1687                 case (drawing::FillStyle_BITMAP):
1688                 {
1689                     const XFillBitmapItem *pFillBitmapItem = static_cast<const 
XFillBitmapItem*>( aMergedAttr.GetItem( XATTR_FILLBITMAP ) );
1690                     XFillBitmapItem aFillBitmapItem( pFillBitmapItem->GetName(), 
pFillBitmapItem->GetGraphicObject() );
1691                     aFillBitmapItem.SetWhich( SID_ATTR_PAGE_BITMAP );
1692                     rSet.Put( aFillBitmapItem );

** CID 1359914:  Control flow issues  (MISSING_BREAK)
/sd/source/ui/view/drviews7.cxx: 1679 in sd::DrawViewShell::GetPageProperties(SfxItemSet &)()


________________________________________________________________________________________________________
*** CID 1359914:  Control flow issues  (MISSING_BREAK)
/sd/source/ui/view/drviews7.cxx: 1679 in sd::DrawViewShell::GetPageProperties(SfxItemSet &)()
1673                 {
1674                     const XGradient& xGradient =  static_cast<const XFillGradientItem*>( 
aMergedAttr.GetItem( XATTR_FILLGRADIENT ) )->GetGradientValue();
1675                     XFillGradientItem aFillGradientItem( OUString(), xGradient, 
SID_ATTR_PAGE_GRADIENT  );
1676                     rSet.Put( aFillGradientItem );
1677                 }
1678     
    CID 1359914:  Control flow issues  (MISSING_BREAK)
    The above case falls through to this one.
1679                 case (drawing::FillStyle_HATCH):
1680                 {
1681                     const XFillHatchItem *pFillHatchItem( static_cast<const XFillHatchItem*>( 
aMergedAttr.GetItem( XATTR_FILLHATCH ) ) );
1682                     XFillHatchItem aFillHatchItem( pFillHatchItem->GetName(), 
pFillHatchItem->GetHatchValue());
1683                     aFillHatchItem.SetWhich( SID_ATTR_PAGE_HATCH );
1684                     rSet.Put( aFillHatchItem );


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/libreoffice?tab=overview

To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click 
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.