summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-08-25 14:38:30 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-08-25 14:51:11 -0400
commitd5d96b15551fb685a99a4ee4217a152e00bc0dbf (patch)
treee48ab5b3d765b4344d14ee997b7d907201513612 /sc/source/core/data
parenta8bf709911f84492624d8ebb12cb0d92bc2ee730 (diff)
fdo#60740: Export multi-line formula results to ods without UNO API.
Change-Id: I69391a9d2ffb0afae7f40c8449196c986375db3f
Diffstat (limited to 'sc/source/core/data')
-rw-r--r--sc/source/core/data/formulacell.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index a7491a224ffb..32238cda798d 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -1705,6 +1705,11 @@ double ScFormulaCell::GetResultDouble() const
return aResult.GetDouble();
}
+OUString ScFormulaCell::GetResultString() const
+{
+ return aResult.GetString();
+}
+
void ScFormulaCell::SetResultMatrix( SCCOL nCols, SCROW nRows, const ScConstMatrixRef& pMat, formula::FormulaToken* pUL )
{
aResult.SetMatrix(nCols, nRows, pMat, pUL);