Kaydet (Commit) ac854a4c authored tarafından Caolán McNamara's avatar Caolán McNamara

crashtesting: failure on export of ooo40197-1.sxc to xlsx

Change-Id: I8e3122045fbf22d4ec0b6960d6268bb5f429f600
Reviewed-on: https://gerrit.libreoffice.org/71042
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst e913727c
...@@ -1122,7 +1122,8 @@ bool ScQueryCellIterator::GetThis() ...@@ -1122,7 +1122,8 @@ bool ScQueryCellIterator::GetThis()
{ {
do do
{ {
if ( ++nCol > mpParam->nCol2 ) ++nCol;
if (nCol > mpParam->nCol2 || nCol >= pDoc->maTabs[nTab]->GetAllocatedColumnsCount())
return false; // Over and out return false; // Over and out
if ( bAdvanceQuery ) if ( bAdvanceQuery )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment