diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-26 23:48:30 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-27 00:07:18 -0400 |
commit | 26343a5a3123315795d0352ee01a1fb5ee0a931a (patch) | |
tree | bd2eded239880e02712b3ba0fb355576c123e324 /sc/qa/unit/helper | |
parent | 6a2a132661ae2ae535a7259c802d31c817717bd3 (diff) |
More ScBaseCell reduction...
Change-Id: I3a9f9ce79de7117e7b1410c45b217e5bfe005db7
Diffstat (limited to 'sc/qa/unit/helper')
-rw-r--r-- | sc/qa/unit/helper/csv_handler.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/qa/unit/helper/csv_handler.hxx b/sc/qa/unit/helper/csv_handler.hxx index e23efb185d25..41589f18310d 100644 --- a/sc/qa/unit/helper/csv_handler.hxx +++ b/sc/qa/unit/helper/csv_handler.hxx @@ -34,6 +34,7 @@ #include "scitems.hxx" #include "document.hxx" #include "cellform.hxx" +#include "cellvalue.hxx" #define DEBUG_CSV_HANDLER 0 @@ -43,8 +44,9 @@ rtl::OUString getConditionalFormatString(ScDocument* pDoc, SCCOL nCol, SCROW nRo { rtl::OUString aString; Color* pColor; - ScBaseCell* pCell = pDoc->GetCell(ScAddress(nCol, nRow, nTab)); - if(!pCell) + ScRefCellValue aCell; + aCell.assign(*pDoc, ScAddress(nCol, nRow, nTab)); + if (aCell.isEmpty()) return aString; const SfxItemSet* pCondSet = pDoc->GetCondResult( nCol, nRow, nTab ); |