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.
5 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 1680674:       Uninitialized variables  (USE_AFTER_MOVE)
/sw/source/uibase/utlui/content.cxx: 8318           in 
SwContentTree::BringTextTOXMarksToAttention(std::vector<const SwTextAttr *, 
std::allocator<const SwTextAttr *>> &)()


_____________________________________________________________________________________________
*** CID 1680674:         Uninitialized variables  (USE_AFTER_MOVE)
/sw/source/uibase/utlui/content.cxx: 8318             in 
SwContentTree::BringTextTOXMarksToAttention(std::vector<const SwTextAttr *, 
std::allocator<const SwTextAttr *>> &)()
8312                     auto nStart = p->GetStart();
8313                     auto nEnd = p->GetAnyEnd();
8314                     SwPosition aStartPos(rTextNode, nStart), 
aEndPos(rTextNode, nEnd);
8315                     lcl_CalcOverlayRanges(pFrame, pFrame, aStartPos, 
aEndPos, aRanges);
8316                 }
8317             }
>>>     CID 1680674:         Uninitialized variables  (USE_AFTER_MOVE)
>>>     "aRanges" is used after it has been already moved.
8318             OverlayObject(std::move(aRanges));
8319         }
8320     }
8321     


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

Reply via email to