pyuno/source/module/pyuno_util.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b7617d50dca359c847b7dbb62447fcfe885eb360 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Nov 25 19:05:01 2012 +0100 New try to fix pystring size I don't know if it's ok but compilation doesn't fail Change-Id: I6960b2cd4587b3f49ccfa7fb24874c288ccfce6a diff --git a/pyuno/source/module/pyuno_util.cxx b/pyuno/source/module/pyuno_util.cxx index 5c4b808..da311cd 100644 --- a/pyuno/source/module/pyuno_util.cxx +++ b/pyuno/source/module/pyuno_util.cxx @@ -87,7 +87,7 @@ OUString pyString2ustring( PyObject *pystr ) #else PyObject* pUtf8 = PyUnicode_AsUTF8String(pystr); char *pStr = PyStr_AsString(pUtf8); - ret = OUString(pUtf8, strlen(pUtf8), RTL_TEXTENCODING_UTF8); + ret = OUString(pStr, strlen(pStr), RTL_TEXTENCODING_UTF8); Py_DECREF(pUtf8); #endif #endif _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits