summaryrefslogtreecommitdiff
path: root/reportdesign/inc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-10-10 16:37:15 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2018-10-10 20:13:56 +0200
commit9eb489da4682a89ab96b0d6a8ba13418aac4ca9d (patch)
tree2bec19cc7957e59644805e2b36bd9c41b3740c3c /reportdesign/inc
parentfb0c1cf19af461795afd24ab7c4cd36e24cec1c6 (diff)
Properly check HRESULT
Although the IEnumFORMATETC::Next documentation only mentions S_OK and S_FALSE, there are error codes that also may be returned: e.g., 0x800706BA RPC server unavailable (encountered locally in a unit test). In that case, this used to loop infinitely. We are only interested in S_OK result, so check for it. Change-Id: I062e409e84efb68353321f7c48d922ec83191f73 Reviewed-on: https://gerrit.libreoffice.org/61621 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'reportdesign/inc')
0 files changed, 0 insertions, 0 deletions