summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-06 04:49:37 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-19 03:43:22 +0200
commitf316f6e7d63abfc213dbc9013a4b710d43aa5454 (patch)
treeefd0f544e23494be2fb0ff9691eb68bb1187d1a2
parent7f52e3848e8b153f8a0b6bb7eef4f40afabe7e69 (diff)
file size is obviously an integer
Change-Id: I7f816fd17a2c9d79415771763c6814f91827d961
-rw-r--r--desktop/source/app/updater.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index a3bb82d99adf..2f88764ce4fe 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -277,8 +277,7 @@ update_file parse_update_file(const orcus::json::detail::node& rNode)
throw invalid_update_info();
aUpdateFile.aHash = toOUString(aHashNode.string_value().str());
- aUpdateFile.nSize = toOUString(aSizeNode.string_value().str()).toUInt32();
-
+ aUpdateFile.nSize = static_cast<sal_uInt32>(aSizeNode.numeric_value());
return aUpdateFile;
}