From b07446600796bea0e00840d2fcd85af4d9deb8f5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 26 May 2014 10:44:53 +0100 Subject: coverity#982169 Unchecked return value Change-Id: I4aa333a907ff050fff4a4c7c41120ce00961673c --- pyuno/source/module/pyuno_module.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyuno/source') 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) { -- cgit