diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-02-18 05:45:19 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-02-18 07:50:34 +0000 |
commit | fa20b651d61edb7bf9487cb79140bb57fc668967 (patch) | |
tree | 806a572072151f7252e341c4dfdb2c46dcfcfdce /sc | |
parent | c8ad72703b74b7338c5f8dd1fe0275822b1e45f0 (diff) |
fix DEBUG_MATRIX build
Change-Id: Iefffba765ff3e651fa0f6d4067ab3a335ec187c0
Reviewed-on: https://gerrit.libreoffice.org/22456
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/scmatrix.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx index 99d859a5d079..e177bedade91 100644 --- a/sc/inc/scmatrix.hxx +++ b/sc/inc/scmatrix.hxx @@ -401,7 +401,7 @@ public: DoubleOpFunction aDoubleFunc, BoolOpFunction aBoolFunc, StringOpFunction aStringFunc) const = 0; #if DEBUG_MATRIX - void Dump() const; + virtual void Dump() const = 0; #endif }; @@ -610,7 +610,7 @@ public: ScFullMatrix& operator+= ( const ScFullMatrix& r ); #if DEBUG_MATRIX - void Dump() const; + virtual void Dump() const override; #endif }; @@ -819,6 +819,12 @@ public: DoubleOpFunction aDoubleFunc, BoolOpFunction aBoolFunc, StringOpFunction aStringFunc) const override; ScVectorRefMatrix& operator+=(const ScVectorRefMatrix& r); + +#if DEBUG_MATRIX + virtual void Dump() const override + { + } +#endif }; inline void intrusive_ptr_add_ref(const ScMatrix* p) |