summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-02-10 01:06:17 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-02-10 01:01:21 +0100
commita6ad91d3e9c956338cf9daed9a3fad64bfcbdcb5 (patch)
tree3f81dc463252156ec15fe1309770d59014d08077 /test/source
parent618442dc3b7c513b91974a09c57ff991626f8a38 (diff)
cppcheck: redundantInitialization in XSheetCondition::testGetSetOperator()
Change-Id: I0895478ec5bbb69cc8a7d88d848755aeabe7b51d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88350 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'test/source')
-rw-r--r--test/source/sheet/xsheetcondition.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xsheetcondition.cxx b/test/source/sheet/xsheetcondition.cxx
index 9093e8aea7fd..27068fec62ee 100644
--- a/test/source/sheet/xsheetcondition.cxx
+++ b/test/source/sheet/xsheetcondition.cxx
@@ -46,7 +46,7 @@ void XSheetCondition::testGetSetFormula2()
void XSheetCondition::testGetSetOperator()
{
uno::Reference<sheet::XSheetCondition> xSheetCondition(init(), UNO_QUERY_THROW);
- sheet::ConditionOperator aOperator = sheet::ConditionOperator_NONE;
+ sheet::ConditionOperator aOperator;
CPPUNIT_ASSERT_NO_THROW_MESSAGE("Unable to get Operator",
aOperator = xSheetCondition->getOperator());