summaryrefslogtreecommitdiff
path: root/sc/qa/unit/helper
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-20 00:22:38 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-22 21:49:16 -0400
commit95d2ab279414f9b24b43b9dd532cca842959389d (patch)
tree61b218e7dab235a64b547e5dcbaed8e001a9c311 /sc/qa/unit/helper
parent85ab53551239246b2ee5a784e927304bc2397942 (diff)
More on reducing the ScBaseCell usage. That's it for today.
Change-Id: Ie35681e62a4ebcd792fd2f4dd62b5c4b8e4db49c
Diffstat (limited to 'sc/qa/unit/helper')
-rw-r--r--sc/qa/unit/helper/csv_handler.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/helper/csv_handler.hxx b/sc/qa/unit/helper/csv_handler.hxx
index 7fe94ffcb8d1..e23efb185d25 100644
--- a/sc/qa/unit/helper/csv_handler.hxx
+++ b/sc/qa/unit/helper/csv_handler.hxx
@@ -51,7 +51,7 @@ rtl::OUString getConditionalFormatString(ScDocument* pDoc, SCCOL nCol, SCROW nRo
const ScPatternAttr* pPattern = pDoc->GetPattern(nCol, nRow, nTab);
SvNumberFormatter* pFormatter = pDoc->GetFormatTable();
sal_uInt32 nFormat = pPattern->GetNumberFormat( pFormatter, pCondSet );
- ScCellFormat::GetString( pCell, nFormat, aString, &pColor, *pFormatter);
+ aString = ScCellFormat::GetString(*pDoc, ScAddress(nCol, nRow, nTab), nFormat, &pColor, *pFormatter);
return aString;
}