<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Calc CRASH when Ctrl+F"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132783#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Calc CRASH when Ctrl+F"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132783">bug 132783</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>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 );</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>