coverity#982169 Unchecked return value

Change-Id: I4aa333a907ff050fff4a4c7c41120ce00961673c
This commit is contained in:
Caolán McNamara
2014-05-26 10:44:53 +01:00
parent 5c5bbe9d01
commit b074466007

View File

@@ -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)
{