diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 10:44:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 15:51:54 +0100 |
commit | b07446600796bea0e00840d2fcd85af4d9deb8f5 (patch) | |
tree | e63663c54abddcd78346e517e8993b4bd4da08ac /pyuno | |
parent | 5c5bbe9d0198a53eee67963c9cae7ba80e7b2a83 (diff) |
coverity#982169 Unchecked return value
Change-Id: I4aa333a907ff050fff4a4c7c41120ce00961673c
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_module.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx index 6c55a5053ca0..eeb039aac843 100644 --- a/pyuno/source/module/pyuno_module.cxx +++ b/pyuno/source/module/pyuno_module.cxx @@ -102,9 +102,9 @@ public: { Py_DECREF(used); } - void setUsed(PyObject *key) + int setUsed(PyObject *key) { - PyDict_SetItem(used, key, Py_True); + return PyDict_SetItem(used, key, Py_True); } void setInitialised(const OUString& key, sal_Int32 pos = -1) { |