[Libreoffice-commits] core.git: sc/inc
Markus Mohrhard
markus.mohrhard at googlemail.com
Thu Feb 18 07:51:07 UTC 2016
sc/inc/scmatrix.hxx | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
New commits:
commit fa20b651d61edb7bf9487cb79140bb57fc668967
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Thu Feb 18 05:45:19 2016 +0100
fix DEBUG_MATRIX build
Change-Id: Iefffba765ff3e651fa0f6d4067ab3a335ec187c0
Reviewed-on: https://gerrit.libreoffice.org/22456
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index 99d859a..e177bed 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)
More information about the Libreoffice-commits
mailing list