New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread 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.
6 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 1510101:  Incorrect expression  (COPY_PASTE_ERROR)
/sw/source/core/undo/undel.cxx: 1287 in SwUndoDelete::RedoImpl(sw::UndoRedoContext &)()


________________________________________________________________________________________________________
*** CID 1510101:  Incorrect expression  (COPY_PASTE_ERROR)
/sw/source/core/undo/undel.cxx: 1287 in SwUndoDelete::RedoImpl(sw::UndoRedoContext &)()
1281             SwPaM aTmp(*rPam.End());
1282             if (!aTmp.Move(fnMoveForward, GoInNode))
1283             {
1284                 *aTmp.GetPoint() = *rPam.Start();
1285                 aTmp.Move(fnMoveBackward, GoInNode);
1286             }
>>>     CID 1510101:  Incorrect expression  (COPY_PASTE_ERROR)
>>>     "GetPoint" in "aTmp.GetPoint()->GetNode() != rPam->GetMark()->GetNode()" looks like a copy-paste error.
1287             assert(aTmp.GetPoint()->GetNode() != rPam.GetPoint()->GetNode()
1288                 && aTmp.GetPoint()->GetNode() != rPam.GetMark()->GetNode());
1289             ::PaMCorrAbs(rPam, *aTmp.GetPoint());
1290     
1291             rPam.DeleteMark();
1292     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D4MBp_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJit9vCD-2FhX3zGZzQhpZveM-2BFG34WwUWLb1poyOdqAbVJfzQj6LBvaAfDEDOCt-2FcK6BWC-2FRHafbB6-2BotKg02BD-2BitrBdQ5npPToYTHjRA8gLP7R7LmI-2Fcaa7vtEY2W657Wl9aE4xak0Ii9LbWRC11cfiz4QzhZT9fj5KjIdEQ2stiE-3D




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux