diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-12-15 16:23:31 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-12-16 14:57:44 +0000 |
commit | 97361478e64f11330f7f7aea819d60c7562fb0f6 (patch) | |
tree | f0cc91b375520dc5748663f22eab7c88a0d9a881 /sc/source | |
parent | 98498fc7632f5cf55ba1cf0ac857af3a70ee10bd (diff) |
don't call getOutputString when we are not using the result, tdf#92802
Change-Id: I5569eb618b5577714bd10c77ade198638394df8b
Reviewed-on: https://gerrit.libreoffice.org/20725
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index f55e570aec17..9d691ed2e35e 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -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) |