summaryrefslogtreecommitdiff
path: root/cppuhelper/inc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-01-09 10:37:05 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-01-09 10:37:05 +0000
commitb2510aa1dc742e6b801c1db164fc973fac19ba5d (patch)
tree3c328a56882ab30f88fa79adcfe021eecb3b439a /cppuhelper/inc
parent0c660a5508adf1447e20d915a491edac0c3961aa (diff)
INTEGRATION: CWS pj69 (1.6.14); FILE MERGED
2007/01/03 14:49:20 pjanik 1.6.14.1: #i73069#: Add initializations to prevent warnings.
Diffstat (limited to 'cppuhelper/inc')
-rw-r--r--cppuhelper/inc/cppuhelper/proptypehlp.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cppuhelper/inc/cppuhelper/proptypehlp.hxx b/cppuhelper/inc/cppuhelper/proptypehlp.hxx
index a7a992aa86c7..fa7ff705b927 100644
--- a/cppuhelper/inc/cppuhelper/proptypehlp.hxx
+++ b/cppuhelper/inc/cppuhelper/proptypehlp.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: proptypehlp.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: vg $ $Date: 2006-11-21 17:04:32 $
+ * last change: $Author: vg $ $Date: 2007-01-09 11:37:05 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -118,12 +118,12 @@ inline void SAL_CALL convertPropertyValue( sal_Int64 & i , const ::com::sun::st
a >>= i;
}
else if( ::com::sun::star::uno::TypeClass_UNSIGNED_HYPER == tc ) {
- sal_uInt64 i64;
+ sal_uInt64 i64 = 0;
a >>= i64;
i = ( sal_Int64 ) i64;
}
else if( ::com::sun::star::uno::TypeClass_LONG == tc ) {
- sal_Int32 i32;
+ sal_Int32 i32 = 0;
a >>= i32;
i = ( sal_Int64 )i32;
}
@@ -133,7 +133,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int64 & i , const ::com::sun::st
i = ( sal_Int64 ) c;
}
else if ( ::com::sun::star::uno::TypeClass_SHORT == tc ) {
- sal_Int16 i16;
+ sal_Int16 i16 = 0;
a >>= i16;
i = ( sal_Int64 ) i16;
}
@@ -143,17 +143,17 @@ inline void SAL_CALL convertPropertyValue( sal_Int64 & i , const ::com::sun::st
i = ( sal_Int64 ) b;
}
else if ( ::com::sun::star::uno::TypeClass_BYTE == tc ) {
- sal_Int8 i8;
+ sal_Int8 i8 = 0;
a >>= i8;
i = ( sal_Int64 ) i8;
}
else if ( ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT == tc ) {
- sal_uInt16 i16;
+ sal_uInt16 i16 = 0;
a >>= i16;
i = ( sal_Int64 ) i16;
}
else if ( ::com::sun::star::uno::TypeClass_UNSIGNED_LONG == tc ) {
- sal_uInt32 i32;
+ sal_uInt32 i32 = 0;
a >>= i32;
i = ( sal_Int64 ) i32;
}