diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2001-03-12 11:03:40 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2001-03-12 11:03:40 +0000 |
commit | 944d47ba74f86998fef010169359b2efecf58978 (patch) | |
tree | b9ebdd7d3a02e317e6ed089d9a6a676b8c84821f /cppu/source/uno/assign.hxx | |
parent | dddee54f568beea58284a5345515e0cd1e584fb6 (diff) |
exact boolean handling
Diffstat (limited to 'cppu/source/uno/assign.hxx')
-rw-r--r-- | cppu/source/uno/assign.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/source/uno/assign.hxx b/cppu/source/uno/assign.hxx index 9fdf257b6d61..2d377de5e26f 100644 --- a/cppu/source/uno/assign.hxx +++ b/cppu/source/uno/assign.hxx @@ -2,9 +2,9 @@ * * $RCSfile: assign.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: dbo $ $Date: 2001-03-09 12:10:57 $ + * last change: $Author: dbo $ $Date: 2001-03-12 12:03:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -244,7 +244,7 @@ inline sal_Bool __assignData( switch (pSourceType->eTypeClass) { case typelib_TypeClass_BOOLEAN: - *(sal_Bool *)pDest = *(sal_Bool *)pSource; + *(sal_Bool *)pDest = (*(sal_Bool *)pSource != sal_False); return sal_True; } return sal_False; |