Skip to content

Commit

Permalink
py3: fixed error in spreadsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre authored and wwmayer committed Feb 18, 2017
1 parent 3efc4fe commit 9b6ef85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Spreadsheet/App/SheetPyImp.cpp
Expand Up @@ -483,7 +483,7 @@ PyObject* SheetPy::setAlias(PyObject *args)
#else
{
PyObject* unicode = PyUnicode_AsUTF8String(value);
v = QString::fromUtf8(PyString_AsString(unicode));
getSheetPtr()->setAlias(address, PyString_AsString(unicode));
Py_DECREF(unicode);
}
else if (PyString_Check(value))
Expand Down

0 comments on commit 9b6ef85

Please sign in to comment.