Kaydet (Commit) 1ed8aae1 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

take explicit number format before implicit number format, fdo#47084

Follow-up to fdo#43467
üst 2ddf3a73
...@@ -3280,7 +3280,7 @@ sal_uLong getDisplayNumberFormat(ScDocument* pDoc, const ScAddress& rPos) ...@@ -3280,7 +3280,7 @@ sal_uLong getDisplayNumberFormat(ScDocument* pDoc, const ScAddress& rPos)
return nFormat; return nFormat;
ScBaseCell* pCell = pDoc->GetCell(rPos); ScBaseCell* pCell = pDoc->GetCell(rPos);
if (!pCell || pCell->GetCellType() != CELLTYPE_FORMULA) if (!pCell || pCell->GetCellType() != CELLTYPE_FORMULA || nFormat)
return nFormat; return nFormat;
// With formula cell, the format may be inferred from the formula result. // With formula cell, the format may be inferred from the formula result.
......
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