[Libreoffice-bugs] [Bug 132783] Calc CRASH when Ctrl+F
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed May 6 21:25:08 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132783
--- Comment #9 from Julien Nabet <serval2412 at yahoo.fr> ---
On sc/source/core/data/table1.cxx:808, I see the same kind of code before
patch:
805 // We need to cache sc::ColumnBlockConstPosition per each column.
806 std::vector< sc::ColumnBlockConstPosition > blockPos( rEndCol + 1
);
807 for( SCCOL i = 0; i <= rEndCol; ++i )
808 aCol[ i ].InitBlockPosition( blockPos[ i ] );
(Sorry Opengrok displays blank page right now)
I noticed this before this block:
785 void ScTable::GetDataArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL&
rEndCol, SCROW& rEndRow,
786 bool bIncludeOld, bool bOnlyDown ) const
787 {
788 // return the smallest area containing at least all contiguous
cells having data. This area
789 // is a square containing also empty cells. It may shrink or extend
the area given as input
790 // Flags as modifiers:
791 //
792 // bIncludeOld = true ensure that the returned area contains at
least the initial area,
793 // independently of the emptiness of rows /
columns (i.e. does not allow shrinking)
794 // bOnlyDown = true means extend / shrink the inputted area
only down, i.e modify only rEndRow
795
796 rStartCol = std::min<SCCOL>( rStartCol, aCol.size()-1 );
797 rEndCol = std::min<SCCOL>( rEndCol, aCol.size()-1 );
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200506/7c9f840d/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list