summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-26 10:44:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-26 15:51:54 +0100
commitb07446600796bea0e00840d2fcd85af4d9deb8f5 (patch)
treee63663c54abddcd78346e517e8993b4bd4da08ac /pyuno
parent5c5bbe9d0198a53eee67963c9cae7ba80e7b2a83 (diff)
coverity#982169 Unchecked return value
Change-Id: I4aa333a907ff050fff4a4c7c41120ce00961673c
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_module.cxx4
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)
{