test/source/sheet/xsheetcondition.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a6ad91d3e9c956338cf9daed9a3fad64bfcbdcb5 Author: Muhammet Kara <muhammet.k...@collabora.com> AuthorDate: Mon Feb 10 01:06:17 2020 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Mon Feb 10 01:01:21 2020 +0100 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.k...@collabora.com> 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()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits