[Libreoffice-commits] core.git: sc/inc sc/qa sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Tue Jul 9 08:44:49 PDT 2013


 sc/inc/formulacell.hxx                 |    2 +-
 sc/qa/unit/subsequent_filters-test.cxx |    1 +
 sc/source/core/data/formulacell.cxx    |    5 +++++
 3 files changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 3a5cc4e322f1a1d5365a7455750b59e004c1b789
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Tue Jul 9 11:41:08 2013 -0400

    More fix for link error on windows.
    
    Change-Id: I4c419e87c3b3da1d28ff1e6aa2877c74cdbd1437

diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 231789f..ae3db89 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -276,7 +276,7 @@ public:
 
     void SetResultToken( const formula::FormulaToken* pToken );
 
-    double GetResultDouble() const { return aResult.GetDouble(); }
+    double GetResultDouble() const;
 
     void            SetErrCode( sal_uInt16 n );
     bool IsHyperLinkCell() const;
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index 8d27a75..1a80e07 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -41,6 +41,7 @@
 #include "markdata.hxx"
 #include "colorscale.hxx"
 #include "olinetab.hxx"
+#include "patattr.hxx"
 
 #include <com/sun/star/drawing/XDrawPageSupplier.hpp>
 #include <com/sun/star/drawing/XControlShape.hpp>
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 0616acc..0fe2632 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -1603,6 +1603,11 @@ void ScFormulaCell::SetResultToken( const formula::FormulaToken* pToken )
     aResult.SetToken(pToken);
 }
 
+double ScFormulaCell::GetResultDouble() const
+{
+    return aResult.GetDouble();
+}
+
 void ScFormulaCell::SetResultMatrix( SCCOL nCols, SCROW nRows, const ScConstMatrixRef& pMat, formula::FormulaToken* pUL )
 {
     aResult.SetMatrix(nCols, nRows, pMat, pUL);


More information about the Libreoffice-commits mailing list