summaryrefslogtreecommitdiff
path: root/sc/qa/unit/helper
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-11-02 18:03:30 +0100
committerEike Rathke <erack@redhat.com>2015-11-02 18:07:40 +0100
commit708bcf9055b04a82943e597747c0d74894714a9e (patch)
tree3ccc7a11172070f03b1139d00e5f443b7193aa18 /sc/qa/unit/helper
parent5bcc5a690f9707464195483c400427d9ccd6d8dc (diff)
trash usage of ScRefCellValue default ctor followed by assign()
... that only results in a performance penalty. Change-Id: Ia161ab7fb03f2d32cf966ce9da9d0319d919fc4c
Diffstat (limited to 'sc/qa/unit/helper')
-rw-r--r--sc/qa/unit/helper/csv_handler.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/qa/unit/helper/csv_handler.hxx b/sc/qa/unit/helper/csv_handler.hxx
index 915ffc62992c..59f21370c959 100644
--- a/sc/qa/unit/helper/csv_handler.hxx
+++ b/sc/qa/unit/helper/csv_handler.hxx
@@ -32,8 +32,7 @@ OUString getConditionalFormatString(ScDocument* pDoc, SCCOL nCol, SCROW nRow, SC
{
OUString aString;
Color* pColor;
- ScRefCellValue aCell;
- aCell.assign(*pDoc, ScAddress(nCol, nRow, nTab));
+ ScRefCellValue aCell(*pDoc, ScAddress(nCol, nRow, nTab));
if (aCell.isEmpty())
return aString;