diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:42:27 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:42:27 +0000 |
commit | 7d033855a2652f4fbfe4f5745e7466f7cc28e761 (patch) | |
tree | 71b4c42233c4c0681248379450854822c54c200d /pyuno/source/module | |
parent | f180f0cd2a101cd94ec5a58046dee122c33232e5 (diff) |
INTEGRATION: CWS warningfixes02 (1.12.2); FILE MERGED
2006/06/30 12:16:38 sb 1.12.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'pyuno/source/module')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index aba839b8a949..e78c697e4398 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pyuno_runtime.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: hr $ $Date: 2006-06-20 05:04:22 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:42:27 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -435,8 +435,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const case typelib_TypeClass_BOOLEAN: { sal_Bool b; - a >>= b; - if (b) + if ((a >>= b) && b) return Py_True; else return Py_False; |