From 95d2ab279414f9b24b43b9dd532cca842959389d Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 20 Mar 2013 00:22:38 -0400 Subject: More on reducing the ScBaseCell usage. That's it for today. Change-Id: Ie35681e62a4ebcd792fd2f4dd62b5c4b8e4db49c --- sc/qa/unit/helper/csv_handler.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/qa/unit') 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; } -- cgit