From 95b301a7d9b1e5b6daa5bccf4619a77121c0e591 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 18 Apr 2017 19:42:53 +0200 Subject: hard coding the number of entries just leads to problems Change-Id: I527c2c881bf46b1724b8da9223b2614ff30fbec7 --- desktop/source/app/updater.cxx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index e9d989acc26b..b6abf4c01b74 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -323,12 +323,6 @@ update_info parse_response(const std::string& rResponse) throw invalid_update_info(); } - if (aRootKeys.size() != 5) - { - SAL_WARN("desktop.Update", "invalid root entries: " << rResponse); - throw invalid_update_info(); - } - orcus::json::detail::node aFromNode = aDocumentRoot.child("from"); if (aFromNode.type() != orcus::json_node_t::string) { -- cgit