diff options
-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) |