mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
fix bug #69104
This commit is contained in:
@ -731,7 +731,12 @@ void CSVWriter::Impl::WriteCell(OOX::Spreadsheet::CCell *pCell)
|
||||
//}
|
||||
//else
|
||||
bool bString = false;
|
||||
if (pCell->m_oValue.IsInit())
|
||||
|
||||
if (pCell->m_oFormula.IsInit())
|
||||
{
|
||||
sCellValue = pCell->m_oFormula->m_sText;
|
||||
}
|
||||
else if (pCell->m_oValue.IsInit())
|
||||
{
|
||||
sCellValue = pCell->m_oValue->ToString();
|
||||
|
||||
@ -796,10 +801,7 @@ void CSVWriter::Impl::WriteCell(OOX::Spreadsheet::CCell *pCell)
|
||||
|
||||
}
|
||||
}
|
||||
else if (pCell->m_oFormula.IsInit())
|
||||
{
|
||||
sCellValue = pCell->m_oFormula->m_sText;
|
||||
}
|
||||
|
||||
|
||||
// Escape cell value
|
||||
if (m_bJSON)
|
||||
|
||||
Reference in New Issue
Block a user