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

don't call getOutputString when we are not using the result, tdf#92802

Change-Id: I5569eb618b5577714bd10c77ade198638394df8b
Reviewed-on: https://gerrit.libreoffice.org/20725Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 98498fc7
......@@ -1331,7 +1331,7 @@ void ScXMLTableRowCellContext::AddNonFormulaCell( const ScAddress& rCellPos )
if( nCellType == util::NumberFormat::TEXT )
{
if( cellExists(rCellPos) && CellsAreRepeated() )
if( !bIsEmpty && !maStringValue && !mbEditEngineHasText && cellExists(rCellPos) && CellsAreRepeated() )
pOUText.reset( getOutputString(rXMLImport.GetDocument(), rCellPos) );
if (!mbEditEngineHasText && !pOUText && !maStringValue)
......
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