summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-16 14:29:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-16 14:29:36 +0100
commit14757281729c723b5527e7efd5c8e3e3bcda686e (patch)
tree2d23bc1fcc2ef2002b8e4dd68e6100f1fcac2638 /sc
parentb17177c63a4eac55dcdaa3006abec05ab71ca1b4 (diff)
coverity#1405157 Unchecked return value
Change-Id: I6feb9004da5ca674533631b42a9e268ca7f1e7f7
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/ucalc_formula.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 4fb2b544fc1c..bea87de78d54 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -2288,7 +2288,8 @@ void Test::testFormulaRefUpdateMoveUndo2()
// Drag A1:B1 into A2:B2 thereby overwriting the old A2:B2 content.
ScDocFunc& rFunc = getDocShell().GetDocFunc();
- rFunc.MoveBlock(ScRange(0,0,0,1,0,0), ScAddress(0,1,0), true, true, false, true);
+ bool bMoved = rFunc.MoveBlock(ScRange(0,0,0,1,0,0), ScAddress(0,1,0), true, true, false, true);
+ CPPUNIT_ASSERT(bMoved);
std::vector<std::vector<const char*>> aCheckAfter = {
{ nullptr, nullptr, "10", "3" },