summaryrefslogtreecommitdiff
path: root/sc/source/core/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-07-18 10:20:33 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-19 14:05:12 -0400
commit8a7ba10c71229f10ee56b263aca4174d7a856f6c (patch)
tree5d4ee484fd58d73237afeb84f07d4c5df9f1b1e4 /sc/source/core/inc
parent229d86b238186e75621b6f617ebc4ee29756324b (diff)
It's now faster to start empty and fill non-empty elements.
The new matrix backend allows to init with empty elements. Let's take advantage of this. Change-Id: Id11a933e50bcd75a5be85a1b3d0bbff0b4041b46
Diffstat (limited to 'sc/source/core/inc')
-rw-r--r--sc/source/core/inc/interpre.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index de577ca9a99e..9b2268251f47 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -114,7 +114,7 @@ public:
/// if denominator is 0.0
static inline double div( const double& fNumerator, const double& fDenominator );
- ScMatrixRef GetNewMat(SCSIZE nC, SCSIZE nR);
+ ScMatrixRef GetNewMat(SCSIZE nC, SCSIZE nR, bool bEmpty = false);
enum VolatileType {
VOLATILE,