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

crash in Standardwidth

Change-Id: I9b781aaf98c16c83e12406ee38167814fb32cfc9
üst e3f8eb8d
...@@ -815,6 +815,11 @@ void ImportExcel::Hideobj() ...@@ -815,6 +815,11 @@ void ImportExcel::Hideobj()
void ImportExcel::Standardwidth() void ImportExcel::Standardwidth()
{ {
sal_uInt16 nScWidth = XclTools::GetScColumnWidth( maStrm.ReaduInt16(), GetCharWidth() ); sal_uInt16 nScWidth = XclTools::GetScColumnWidth( maStrm.ReaduInt16(), GetCharWidth() );
if (!pColRowBuff)
{
SAL_WARN("sc", "*ImportExcel::Standardwidth(): pColRowBuff is NULL!");
return;
}
pColRowBuff->SetDefWidth( nScWidth, true ); pColRowBuff->SetDefWidth( nScWidth, true );
} }
......
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