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



Hi,

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

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


** CID 1416669:  Uninitialized members  (UNINIT_CTOR)
/sc/source/ui/dataprovider/dataprovider.cxx: 65 in sc::ExternalDataSource::ExternalDataSource(const 
rtl::OUString &, const rtl::OUString &, ScDocument *)()


________________________________________________________________________________________________________
*** CID 1416669:  Uninitialized members  (UNINIT_CTOR)
/sc/source/ui/dataprovider/dataprovider.cxx: 65 in sc::ExternalDataSource::ExternalDataSource(const 
rtl::OUString &, const rtl::OUString &, ScDocument *)()
59     ExternalDataSource::ExternalDataSource(const OUString& rURL,
60             const OUString& rProvider, ScDocument* pDoc):
61         maURL(rURL),
62         maProvider(rProvider),
63         mpDoc(pDoc)
64     {
    CID 1416669:  Uninitialized members  (UNINIT_CTOR)
    Non-static class member "mnUpdateFrequency" is not initialized in this constructor nor in 
any functions that it calls.
65     }
66     
67     ExternalDataSource::~ExternalDataSource()
68     {
69     }
70     

** CID 1416668:  Error handling issues  (UNCAUGHT_EXCEPT)
/vcl/source/salmain/salmain.cxx: 35 in main()


________________________________________________________________________________________________________
*** CID 1416668:  Error handling issues  (UNCAUGHT_EXCEPT)
/vcl/source/salmain/salmain.cxx: 35 in main()
29     #include "salinst.hxx"
30     
31     #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined 
LIBO_HEADLESS
32     #include "opengl/x11/glxtest.hxx"
33     #endif
34     
    CID 1416668:  Error handling issues  (UNCAUGHT_EXCEPT)
    In function "main(int, char **)" an exception of type 
"com::sun::star::uno::RuntimeException" is thrown and never caught.
35     SAL_IMPLEMENT_MAIN() {
36     #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined 
LIBO_HEADLESS
37         fire_glxtest_process();
38     #endif
39         tools::extendApplicationEnvironment();
40         vclmain::createApplication();
41         return SVMain();
42     }
43     

** CID 1416667:    (FORWARD_NULL)
/sw/qa/extras/ww8export/ww8export2.cxx: 62 in testTdf55427_footnote2endnote::verify()()
/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx: 603 in testTdf55427_footnote2endnote::verify()()


________________________________________________________________________________________________________
*** CID 1416667:    (FORWARD_NULL)
/sw/qa/extras/ww8export/ww8export2.cxx: 62 in testTdf55427_footnote2endnote::verify()()
56     {
57         uno::Reference<beans::XPropertySet> 
xPageStyle(getStyles("ParagraphStyles")->getByName("Footnote"), uno::UNO_QUERY);
58         CPPUNIT_ASSERT_EQUAL_MESSAGE( "Footnote style is rose color", sal_Int32(0xFF007F), 
getProperty< sal_Int32 >(xPageStyle, "CharColor") );
59         xPageStyle.set(getStyles("ParagraphStyles")->getByName("Endnote"), uno::UNO_QUERY);
60         CPPUNIT_ASSERT_EQUAL_MESSAGE( "Endnote style is cyan3 color", sal_Int32(0x2BD0D2), 
getProperty< sal_Int32 >(xPageStyle, "CharColor") );
61     
    CID 1416667:    (FORWARD_NULL)
    Assigning: "pTextDoc" = "dynamic_cast <SwXTextDocument *>(this->mxComponent.get())".
62         SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
63         SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
64         // The footnote numbering type of ARABIC will not transfer over when those footnotes are 
converted to endnotes.
65         CPPUNIT_ASSERT_EQUAL_MESSAGE( "Footnote numbering type", SVX_NUM_ARABIC, 
pDoc->GetFootnoteInfo().aFormat.GetNumberingType() );
66         // The original document has a real endnote using ROMAN_LOWER numbering, so that setting 
MUST remain unchanged.
67         CPPUNIT_ASSERT_EQUAL_MESSAGE( "Endnote numbering type", SVX_NUM_ROMAN_LOWER, 
pDoc->GetEndNoteInfo().aFormat.GetNumberingType() );
/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx: 603 in testTdf55427_footnote2endnote::verify()()
597     {
598         uno::Reference<beans::XPropertySet> 
xPageStyle(getStyles("ParagraphStyles")->getByName("Footnote"), uno::UNO_QUERY);
599         CPPUNIT_ASSERT_EQUAL_MESSAGE( "Footnote style is rose color", sal_Int32(0xFF007F), 
getProperty< sal_Int32 >(xPageStyle, "CharColor") );
600         xPageStyle.set(getStyles("ParagraphStyles")->getByName("Endnote"), uno::UNO_QUERY);
601         CPPUNIT_ASSERT_EQUAL_MESSAGE( "Endnote style is cyan3 color", sal_Int32(0x2BD0D2), 
getProperty< sal_Int32 >(xPageStyle, "CharColor") );
602     
    CID 1416667:    (FORWARD_NULL)
    Assigning: "pTextDoc" = "dynamic_cast <SwXTextDocument *>(this->mxComponent.get())".
603         SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
604         SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
605         // The footnote numbering type of ARABIC will not transfer over when those footnotes 
are converted to endnotes.
606         CPPUNIT_ASSERT_EQUAL_MESSAGE( "Footnote numbering type", SVX_NUM_ARABIC, 
pDoc->GetFootnoteInfo().aFormat.GetNumberingType() );
607         // The original document has a real endnote using ROMAN_LOWER numbering, so that 
setting MUST remain unchanged.
608         CPPUNIT_ASSERT_EQUAL_MESSAGE( "Endnote numbering type", SVX_NUM_ROMAN_LOWER, 
pDoc->GetEndNoteInfo().aFormat.GetNumberingType() );


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyJmd9SPDkvWBw7-2B-2B0x1vUmY-2F-2Bq7kj13YwRkBVKLpzC87si6BLuN40mv5Xiizqd0zo77-2F0ABef8p2pDxtC7X4nt-2FPPWV6J1Jo3-2FHna9Y7S5DFRU5VuM20JSnWf6BM8Oy75M1q3qplgBSSa7x-2B4Q4LnHxbnOEiN6DquQkW0kMBgCzQ-3D

To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5lwWgMDuK-2FivqaohkU3M9kT-2Fww10Qt2GoaCJAOQCa0Wv4ijH4oV8jCt0XXa7QeAwh_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyJmd9SPDkvWBw7-2B-2B0x1vUmaLKviVyKoAibTCBnVPafrVltu9tnJEVJURiNTuLtvIExxYOiFj9TOzJyowm93M-2BJQ2xCBVAIiSo2snUHm9sAqOS-2BOmo9UW-2F6pIuKa4xIG87fbYSOmkmC75PDfRFMM3Z9kha08VlxHjmLG7NFZq11Hs-3D


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.