summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-06 18:21:33 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-06 18:50:08 -0400
commit639d33af28d5ed4c2223cfb7b1422478942e6e52 (patch)
tree5927fb88be2b45fb5b1315de9d0341454299f134
parent21010f3ea76a98ba8349b7ab3ffd7dcadd6a2d1c (diff)
Let's make this non-inline...
Change-Id: Ib427cea392c953e6bce121bfe82e9215eb1bb99a
-rw-r--r--sc/inc/token.hxx8
-rw-r--r--sc/source/core/tool/token.cxx7
2 files changed, 9 insertions, 6 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 272a8f87cd4e..ec0bfc2821a2 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -414,12 +414,8 @@ private:
svl::SharedString maString;
OUString maFormula;
public:
- ScHybridCellToken( double f,
- const svl::SharedString & rStr,
- const OUString & rFormula ) :
- ScToken( formula::svHybridCell ),
- mfDouble( f ), maString( rStr ),
- maFormula( rFormula ) {}
+ ScHybridCellToken(
+ double f, const svl::SharedString & rStr, const OUString & rFormula );
const OUString& GetFormula() const { return maFormula; }
virtual double GetDouble() const SAL_OVERRIDE;
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 636ff01daa74..f6b3741d3dc9 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1157,6 +1157,13 @@ void ScMatrixFormulaCellToken::ResetResult()
xUpperLeft = NULL;
}
+ScHybridCellToken::ScHybridCellToken(
+ double f, const svl::SharedString & rStr, const OUString & rFormula ) :
+ ScToken( formula::svHybridCell ),
+ mfDouble( f ), maString( rStr ),
+ maFormula( rFormula )
+{
+}
double ScHybridCellToken::GetDouble() const { return mfDouble; }