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.
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 1 of 1 defect(s)


** CID 1523442:  Performance inefficiencies  (AUTO_CAUSES_COPY)
/sc/source/core/data/column2.cxx: 811 in ScColumn::GetOptimalColWidth(OutputDevice *, double, double, const Fraction &, const Fraction &, bool, unsigned short, const ScMarkData *, const ScColWidthParam *) const()


________________________________________________________________________________________________________
*** CID 1523442:  Performance inefficiencies  (AUTO_CAUSES_COPY)
/sc/source/core/data/column2.cxx: 811 in ScColumn::GetOptimalColWidth(OutputDevice *, double, double, const Fraction &, const Fraction &, bool, unsigned short, const ScMarkData *, const ScColWidthParam *) const()
805             ScNeededSizeOptions aOptions;
806             aOptions.bFormula = bFormula;
807             const ScPatternAttr* pOldPattern = nullptr;
808     
809             // Go though all non-empty cells within selection.
810             sc::CellStoreType::const_iterator itPos = maCells.begin();
>>>     CID 1523442:  Performance inefficiencies  (AUTO_CAUSES_COPY)
>>>     Using the "auto" keyword without an "&" causes the copy of an object of type RowSpan.
811             for (auto [ nRow, nRow2 ] : aMarkedSpans)
812             {
813                 while (nRow <= nRow2)
814                 {
815                     size_t nOffset;
816                     std::tie(itPos, nOffset) = maCells.position(itPos, nRow);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DQiwy_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi51pbRrRc3x-2FLJH8fIfHu0ckOTSOgpxE7HT3UAM8CkEl1IDgA3hpdXlzgAz-2Bn3hMk1cRp-2BR4rCDs-2BAaB9OwmGiuJ41l9uMol2gkdJaL-2BIJ7dXP-2B8o9k-2BsCH-2FOwgZhXeoUOl3N-2F85PZRjmqD3N7XoueorkngdXSsbMpqcp7oET4so-3D




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

  Powered by Linux