INTEGRATION: CWS warningfixes03_SRC680 (1.13.6); FILE MERGED

2006/08/18 12:49:44 mhu 1.13.6.1: #i68745# Fixed GCC 4.0.x warning(s).
This commit is contained in:
Ivo Hinkelmann
2006-08-29 10:04:27 +00:00
parent 7cf515898c
commit 244cd15c49

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: pyuno_runtime.cxx,v $ * $RCSfile: pyuno_runtime.cxx,v $
* *
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* last change: $Author: kz $ $Date: 2006-07-19 16:42:27 $ * last change: $Author: ihi $ $Date: 2006-08-29 11:04:27 $
* *
* 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.
@@ -434,7 +434,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
} }
case typelib_TypeClass_BOOLEAN: case typelib_TypeClass_BOOLEAN:
{ {
sal_Bool b; sal_Bool b = sal_Bool();
if ((a >>= b) && b) if ((a >>= b) && b)
return Py_True; return Py_True;
else else