[Libreoffice-commits] core.git: sc/inc sc/source
Stephan Bergmann
sbergman at redhat.com
Mon Dec 22 02:32:13 PST 2014
sc/inc/token.hxx | 2 ++
sc/source/core/tool/token.cxx | 4 ++++
2 files changed, 6 insertions(+)
New commits:
commit 29c38bab7a69127c69f17c9a62b35faf68deb843
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Dec 22 11:31:46 2014 +0100
Blind fix for MSVC build
Change-Id: Ib5ed5a6bd598df660c3b865782e6a639e2c657ee
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index ea2b8ae..0d54a4b 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 a4f2473..ebfb8ca 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);
More information about the Libreoffice-commits
mailing list