summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:44:51 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:44:51 +0000
commitd5af0a8c8435449c5d887104a69912d60308baf0 (patch)
treeb552a2801e7b978270dcb996ba8d4b4093da8f8c /ucb
parent9271e33041bbaac76713ba0cc35a1b8172df5713 (diff)
INTEGRATION: CWS pj65 (1.14.12); FILE MERGED
2006/10/31 13:59:06 pjanik 1.14.12.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx b/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
index d396ca7848c9..29d98af3b91e 100644
--- a/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
+++ b/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: UCBDeadPropertyValue.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 14:07:26 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:44:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -485,7 +485,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
else if ( rType == getCppuType( static_cast< const sal_Int32 * >( 0 ) ) )
{
// long
- sal_Int32 nValue;
+ sal_Int32 nValue = 0;
rInData >>= nValue;
aStringValue = rtl::OUString::valueOf( nValue );
aStringType = aTypeLong;
@@ -493,7 +493,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
else if ( rType == getCppuType( static_cast< const sal_Int16 * >( 0 ) ) )
{
// short
- sal_Int32 nValue;
+ sal_Int32 nValue = 0;
rInData >>= nValue;
aStringValue = rtl::OUString::valueOf( nValue );
aStringType = aTypeShort;
@@ -525,7 +525,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
else if ( rType == getCppuType( static_cast< const sal_Int64 * >( 0 ) ) )
{
// hyper
- sal_Int64 nValue;
+ sal_Int64 nValue = 0;
rInData >>= nValue;
aStringValue = rtl::OUString::valueOf( nValue );
aStringType = aTypeHyper;
@@ -533,7 +533,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
else if ( rType == getCppuType( static_cast< const float * >( 0 ) ) )
{
// float
- float nValue;
+ float nValue = 0;
rInData >>= nValue;
aStringValue = rtl::OUString::valueOf( nValue );
aStringType = aTypeFloat;
@@ -541,7 +541,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
else if ( rType == getCppuType( static_cast< const double * >( 0 ) ) )
{
// double
- double nValue;
+ double nValue = 0;
rInData >>= nValue;
aStringValue = rtl::OUString::valueOf( nValue );
aStringType = aTypeDouble;