crashtesting: failed on reexport of fdo64646-4.xls

since...

commit 7282014e36
Date:   Fri Feb 1 15:15:16 2019 +0100

    tdf#50916 Makes numbers of columns dynamic

Change-Id: Id013d1005605f7c7b58b4065ead1e6053cedd45d
Reviewed-on: https://gerrit.libreoffice.org/70601
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2019-04-12 09:51:50 +02:00
parent c9c9c5ad3f
commit b240c12ef2
+2 -2
View File
@@ -1952,7 +1952,7 @@ sal_uInt32 ScTable::GetNumberFormat( const ScInterpreterContext& rContext, const
sal_uInt32 ScTable::GetNumberFormat( SCCOL nCol, SCROW nRow ) const
{
if (ValidColRow(nCol,nRow))
return aCol[nCol].GetNumberFormat( pDocument->GetNonThreadedContext(), nRow );
return CreateColumnIfNotExists(nCol).GetNumberFormat(pDocument->GetNonThreadedContext(), nRow);
else
return 0;
}
@@ -1962,7 +1962,7 @@ sal_uInt32 ScTable::GetNumberFormat( SCCOL nCol, SCROW nStartRow, SCROW nEndRow
if (!ValidCol(nCol) || !ValidRow(nStartRow) || !ValidRow(nEndRow))
return 0;
return aCol[nCol].GetNumberFormat(nStartRow, nEndRow);
return CreateColumnIfNotExists(nCol).GetNumberFormat(nStartRow, nEndRow);
}
void ScTable::SetNumberFormat( SCCOL nCol, SCROW nRow, sal_uInt32 nNumberFormat )