INTEGRATION: CWS pj65 (1.15.6); FILE MERGED

2006/10/31 13:55:56 pjanik 1.15.6.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
This commit is contained in:
Vladimir Glazounov
2006-11-21 16:39:42 +00:00
parent ef16933aff
commit 34f67a45b1

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: pyuno_runtime.cxx,v $ * $RCSfile: pyuno_runtime.cxx,v $
* *
* $Revision: 1.16 $ * $Revision: 1.17 $
* *
* last change: $Author: ihi $ $Date: 2006-11-14 18:21:46 $ * last change: $Author: vg $ $Date: 2006-11-21 17:39:42 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -445,7 +445,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
case typelib_TypeClass_UNSIGNED_SHORT: case typelib_TypeClass_UNSIGNED_SHORT:
case typelib_TypeClass_LONG: case typelib_TypeClass_LONG:
{ {
sal_Int32 l; sal_Int32 l = 0;
a >>= l; a >>= l;
return PyRef( PyInt_FromLong (l), SAL_NO_ACQUIRE ); return PyRef( PyInt_FromLong (l), SAL_NO_ACQUIRE );
} }