summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-05 14:05:36 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-05 18:07:06 +0100
commit8686b480ba1d79463f33fe931a454d9d92c3d739 (patch)
tree5ae7af38a975dea917b5546cb9b49961db9b9ad9
parent7f49fa220225d2afbefac756a03586212d8ce1c6 (diff)
Fix apparent copy/paste typo
...present ever since the code got introduced in 569269078576fa832143ec4f0bf03283ff358f48 "improve the update checker" Change-Id: I38d0efee3cb3f6954dd30690ba9afddf0b66c959 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160348 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
-rw-r--r--desktop/source/app/updater.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 1af82cf85fc9..0cd95da8d4e7 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -477,7 +477,7 @@ update_info parse_response(const std::string& rResponse)
}
orcus::json::node aLanguageNode = aDocumentRoot.child("languages");
- if (aUpdateNode.type() != orcus::json::node_t::object)
+ if (aLanguageNode.type() != orcus::json::node_t::object)
{
throw invalid_update_info();
}