sc/source/ui/unoobj/chart2uno.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 832967b7b8263f9104964d2f922709eb610190b3 Author: Caolán McNamara <[email protected]> Date: Thu Nov 23 14:39:19 2017 +0000 crashtesting: crash loading fdo41403-1.xlsm regression since... commit 3af8a4faf5e20ccae2386052697713da160afb16 Date: Wed Nov 15 13:10:40 2017 +0300 tdf#113861: Less aggressive expansion of chart headers. pre-change code had... FormulaToken* pToken = it2->second; if (pToken && nRow>=nHeaderRowCount) check, so restore that check for presence of FormulaToken Change-Id: Ia1b301e4f7fdf447b08de7fb22bd7fde8735bd52 Reviewed-on: https://gerrit.libreoffice.org/45155 Reviewed-by: Vasily Melenchuk <[email protected]> Tested-by: Jenkins <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> (cherry picked from commit 6f394daa4828743a165121d9e8e1e2c7a63a1200) Reviewed-on: https://gerrit.libreoffice.org/45206 Tested-by: Vasily Melenchuk <[email protected]> diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index d3dbb1f77e3b..10577d92dbfc 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -303,7 +303,7 @@ Chart2PositionMap::Chart2PositionMap(SCCOL nAllColCount, SCROW nAllRowCount, for ( const auto & rCell : *rCol.second ) { // Skip header rows - if (rCell.first < nHeaderRowCount ) + if (rCell.first < nHeaderRowCount || !rCell.second) continue; ScRange aRange;
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
