summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 16:01:42 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 16:01:42 +0000
commitf710961a676fcb5356b1246356339d3b81ffae6a (patch)
tree2e8eb67a5161fdc2cbf4b988c85368f586a210cc /ucb
parentc42172867e6e0a66c38260b3db657652f26fec11 (diff)
INTEGRATION: CWS warningfixes02 (1.11.4); FILE MERGED
2006/06/30 12:19:52 sb 1.11.4.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx b/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
index 93cd32bc3570..b251a6fb57fd 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.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: kz $ $Date: 2006-07-19 09:36:20 $
+ * last change: $Author: kz $ $Date: 2006-07-19 17:01:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -498,7 +498,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
else if ( rType == getCppuBooleanType() )
{
// boolean
- sal_Bool bValue;
+ sal_Bool bValue = false;
rInData >>= bValue;
aStringValue = rtl::OUString::valueOf( bValue );
aStringType = aTypeBoolean;
@@ -506,7 +506,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
else if ( rType == getCppuCharType() )
{
// char
- sal_Unicode cValue;
+ sal_Unicode cValue = 0;
rInData >>= cValue;
aStringValue = rtl::OUString::valueOf( cValue );
aStringType = aTypeChar;
@@ -514,7 +514,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
else if ( rType == getCppuType( static_cast< const sal_Int8 * >( 0 ) ) )
{
// byte
- sal_Int8 nValue;
+ sal_Int8 nValue = 0;
rInData >>= nValue;
aStringValue = rtl::OUString::valueOf( sal_Unicode( nValue ) );
aStringType = aTypeByte;