summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/interpr5.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-01-27 14:50:36 +0100
committerEike Rathke <erack@redhat.com>2015-01-27 15:16:36 +0100
commitb435ca9e6f826704314f8a437c352aa799767bd4 (patch)
treee4bf8c9d09d0b04427946f59f08bd14ab36e740b /sc/source/core/tool/interpr5.cxx
parentc072bd1df9bd01b34b99fbff50ee09bd5f5ac6ee (diff)
Resolves: tdf#88786 correct matrix sub operation
Change-Id: Ib5ce2ffe17cc34e0b3f04ebc06ea392707b7b9e6
Diffstat (limited to 'sc/source/core/tool/interpr5.cxx')
-rw-r--r--sc/source/core/tool/interpr5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index fe87c0457eed..b6d616e11619 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -1297,7 +1297,7 @@ void ScInterpreter::CalculateAddSub(bool _bSub)
}
else
{
- pMat->SubAddOp(true, fVal, aString, *pResMat);
+ pMat->SubAddOp(false, -fVal, aString, *pResMat);
}
PushMatrix(pResMat);
}