diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-10 17:03:52 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-10 17:28:54 -0400 |
commit | aa5ad7b8096cd15a55c467b1a23d03849aeb870d (patch) | |
tree | 521e30badf69b02b18eee0ce77048bc2f5f26f7f /sc/source/filter/oox/worksheethelper.cxx | |
parent | 304e6144c66affd7adcea66f72fb5757eddfb12f (diff) |
fdo#74747: Make use of cached string formula results.
Just like we do with cached numeric formula results.
Change-Id: Ib8b311b540caeb47d8c2162a456f7490c5882ad5
Diffstat (limited to 'sc/source/filter/oox/worksheethelper.cxx')
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 32cff08bf2e1..2dceb6c6f891 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1567,10 +1567,10 @@ void WorksheetHelper::putValue( const CellAddress& rAddress, double fValue ) getDocImport().setNumericCell(aAddress, fValue); } -void WorksheetHelper::setCellFormulaValue( const ::com::sun::star::table::CellAddress& rAddress, - double fValue ) +void WorksheetHelper::setCellFormulaValue( + const css::table::CellAddress& rAddress, const OUString& rValueStr, sal_Int32 nCellType ) { - getFormulaBuffer().setCellFormulaValue( rAddress, fValue ); + getFormulaBuffer().setCellFormulaValue(rAddress, rValueStr, nCellType); } void WorksheetHelper::putString( const CellAddress& rAddress, const OUString& rText ) |