diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:50:52 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:50:52 +0000 |
commit | 6e1a53ed5de9af5000867937bb1959778aebffc5 (patch) | |
tree | b1449ae935c215c8ca9adc14df928f32e396d792 /comphelper/inc/comphelper/extract.hxx | |
parent | a6f230be93e786f1da469a5501f9f5a044d976f4 (diff) |
INTEGRATION: CWS pj65 (1.4.86); FILE MERGED
2006/10/31 13:24:48 pjanik 1.4.86.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'comphelper/inc/comphelper/extract.hxx')
-rw-r--r-- | comphelper/inc/comphelper/extract.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/inc/comphelper/extract.hxx b/comphelper/inc/comphelper/extract.hxx index daa7160df889..427166233678 100644 --- a/comphelper/inc/comphelper/extract.hxx +++ b/comphelper/inc/comphelper/extract.hxx @@ -4,9 +4,9 @@ * * $RCSfile: extract.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2006-01-10 15:51:47 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:50:52 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -108,7 +108,7 @@ inline void SAL_CALL any2enum( E & eRet, const ::com::sun::star::uno::Any & rAny if (! (rAny >>= eRet)) { // if not enum, maybe integer? - sal_Int32 nValue; + sal_Int32 nValue = 0; if (! (rAny >>= nValue)) throw ::com::sun::star::lang::IllegalArgumentException(); @@ -161,7 +161,7 @@ inline sal_Bool SAL_CALL any2bool( const ::com::sun::star::uno::Any & rAny ) } else { - sal_Int32 nValue; + sal_Int32 nValue = 0; if (! (rAny >>= nValue)) throw ::com::sun::star::lang::IllegalArgumentException(); return nValue != 0; |