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


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.
14 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 1438043:    (DEADCODE)
/sw/source/core/layout/layact.cxx: 445 in SwLayAction::InternalAction(OutputDevice *)()
/sw/source/core/layout/layact.cxx: 448 in SwLayAction::InternalAction(OutputDevice *)()


________________________________________________________________________________________________________
*** CID 1438043:    (DEADCODE)
/sw/source/core/layout/layact.cxx: 445 in SwLayAction::InternalAction(OutputDevice *)()
439     
440         IDocumentLayoutAccess& rLayoutAccess = m_pRoot->GetFormat()->getIDocumentLayoutAccess();
441         bool bNoLoop = pPage && SwLayouter::StartLoopControl( m_pRoot->GetFormat()->GetDoc(), 
pPage );
442         sal_uInt16 nPercentPageNum = 0;
443         while ( (pPage && !IsInterrupt()) || m_nCheckPageNum != USHRT_MAX )
444         {
    CID 1438043:    (DEADCODE)
    Execution cannot reach the expression "pPage->GetPhyPageNum() >= this->m_nCheckPageNum" 
inside this statement: "if (!pPage && this->m_nChec...".
445             if ( !pPage && m_nCheckPageNum != USHRT_MAX &&
446                  (!pPage || pPage->GetPhyPageNum() >= m_nCheckPageNum) )
447             {
448                 if ( !pPage || pPage->GetPhyPageNum() > m_nCheckPageNum )
449                 {
450                     SwPageFrame *pPg = static_cast<SwPageFrame*>(m_pRoot->Lower());
/sw/source/core/layout/layact.cxx: 448 in SwLayAction::InternalAction(OutputDevice *)()
442         sal_uInt16 nPercentPageNum = 0;
443         while ( (pPage && !IsInterrupt()) || m_nCheckPageNum != USHRT_MAX )
444         {
445             if ( !pPage && m_nCheckPageNum != USHRT_MAX &&
446                  (!pPage || pPage->GetPhyPageNum() >= m_nCheckPageNum) )
447             {
    CID 1438043:    (DEADCODE)
    Execution cannot reach the expression "pPage->GetPhyPageNum() > this->m_nCheckPageNum" 
inside this statement: "if (!pPage || pPage->GetPhy...".
448                 if ( !pPage || pPage->GetPhyPageNum() > m_nCheckPageNum )
449                 {
450                     SwPageFrame *pPg = static_cast<SwPageFrame*>(m_pRoot->Lower());
451                     while ( pPg && pPg->GetPhyPageNum() < m_nCheckPageNum )
452                         pPg = static_cast<SwPageFrame*>(pPg->GetNext());
453                     if ( pPg )


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyaicp5raxBNRKMdrrCQSQrZBd26wIOlS495yuuhqd2DmKJELDyiPyCaNTVwiDTRBDRjo5qV1ZDbx9UnBpkNcK5-2FllXaGCndrpOMKzm0u3bnf3Yssfu14IAt9wNubS4rDzIxojtD-2FRKBvOgnfnlq6wEXNW6vb2q2gn5xAskYXDw2I-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.