diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-22 11:31:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-22 11:31:46 +0100 |
commit | 29c38bab7a69127c69f17c9a62b35faf68deb843 (patch) | |
tree | 45c387be241349767bbf11c03cc41c32f4f5210b | |
parent | 03487e2fe78aa76032eef42350eba55b419e6d3d (diff) |
Blind fix for MSVC build
Change-Id: Ib5ed5a6bd598df660c3b865782e6a639e2c657ee
-rw-r--r-- | sc/inc/token.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/token.cxx | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx index ea2b8ae09432..0d54a4b03816 100644 --- a/sc/inc/token.hxx +++ b/sc/inc/token.hxx @@ -276,6 +276,7 @@ protected: public: ScMatrixCellResultToken( const ScConstMatrixRef& pMat, formula::FormulaToken* pUL ); ScMatrixCellResultToken( const ScMatrixCellResultToken& r ); + virtual ~ScMatrixCellResultToken(); virtual double GetDouble() const SAL_OVERRIDE; virtual svl::SharedString GetString() const SAL_OVERRIDE; virtual const ScMatrix* GetMatrix() const SAL_OVERRIDE; @@ -302,6 +303,7 @@ public: ScMatrixFormulaCellToken( SCCOL nC, SCROW nR, const ScConstMatrixRef& pMat, formula::FormulaToken* pUL ); ScMatrixFormulaCellToken( SCCOL nC, SCROW nR ); ScMatrixFormulaCellToken( const ScMatrixFormulaCellToken& r ); + virtual ~ScMatrixFormulaCellToken(); virtual bool operator==( const formula::FormulaToken& rToken ) const SAL_OVERRIDE; virtual FormulaToken* Clone() const SAL_OVERRIDE { return new ScMatrixFormulaCellToken(*this); } diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index a4f247317b08..ebfb8ca3834f 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -857,6 +857,8 @@ ScMatrixCellResultToken::ScMatrixCellResultToken( const ScMatrixCellResultToken& double ScMatrixCellResultToken::GetDouble() const { return xUpperLeft->GetDouble(); } +ScMatrixCellResultToken::~ScMatrixCellResultToken() {} + svl::SharedString ScMatrixCellResultToken::GetString() const { return xUpperLeft->GetString(); @@ -904,6 +906,8 @@ ScMatrixFormulaCellToken::ScMatrixFormulaCellToken( const ScMatrixFormulaCellTok xUpperLeft = xUpperLeft->Clone(); } +ScMatrixFormulaCellToken::~ScMatrixFormulaCellToken() {} + bool ScMatrixFormulaCellToken::operator==( const FormulaToken& r ) const { const ScMatrixFormulaCellToken* p = dynamic_cast<const ScMatrixFormulaCellToken*>(&r); |