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

xls: DefColWidth without pColRowBuff

Change-Id: I36f9439e417b380bd3f999c02c55c29337796002
üst ca69f160
......@@ -662,6 +662,12 @@ void ImportExcel::DefColWidth()
// stored as entire characters -> convert to 1/256 of characters (as in COLINFO)
double fDefWidth = 256.0 * maStrm.ReaduInt16();
if (!pColRowBuff)
{
SAL_WARN("sc", "*ImportExcel::DefColWidth(): pColRowBuff is NULL!");
return;
}
// #i3006# additional space for default width - Excel adds space depending on font size
long nFontHt = GetFontBuffer().GetAppFontData().mnHeight;
fDefWidth += XclTools::GetXclDefColWidthCorrection( nFontHt );
......
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