You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by al...@apache.org on 2013/01/02 15:43:58 UTC

svn commit: r1427802 - /openoffice/trunk/main/pyuno/source/module/pyuno_type.cxx

Author: alg
Date: Wed Jan  2 14:43:58 2013
New Revision: 1427802

URL: http://svn.apache.org/viewvc?rev=1427802&view=rev
Log:
#121496# non-const char ptr needed, see task

Modified:
    openoffice/trunk/main/pyuno/source/module/pyuno_type.cxx

Modified: openoffice/trunk/main/pyuno/source/module/pyuno_type.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/pyuno/source/module/pyuno_type.cxx?rev=1427802&r1=1427801&r2=1427802&view=diff
==============================================================================
--- openoffice/trunk/main/pyuno/source/module/pyuno_type.cxx (original)
+++ openoffice/trunk/main/pyuno/source/module/pyuno_type.cxx Wed Jan  2 14:43:58 2013
@@ -288,7 +288,7 @@ PyObject *importToGlobal(PyObject *str, 
             PyRef pTypeName( PyUnicode_AsUTF8String( str ), SAL_NO_ACQUIRE );
             const char *typeName = PyBytes_AsString( pTypeName.get() );
 #else
-            const char *targetName = PyBytes_AsString( target );
+            /*const*/ char *targetName = PyBytes_AsString( target );
             const char *typeName = PyBytes_AsString( str );
 #endif
             PyModule_AddObject(