summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-29 10:12:37 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-29 10:12:37 +0000
commitc5a9632f720d5474d1d6739c8eaf019a837e1b16 (patch)
treeab8c5574b187fe7bdbde84f4e7aa28080f8b409e /svtools
parent4c4f226ee3b989510a751e35365b02f8e5f50db1 (diff)
INTEGRATION: CWS warningfixes03_SRC680 (1.5.90); FILE MERGED
2006/08/18 14:31:23 mhu 1.5.90.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/items/imageitm.cxx6
-rw-r--r--svtools/source/items/intitem.cxx6
-rw-r--r--svtools/source/items1/cintitem.cxx6
3 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/items/imageitm.cxx b/svtools/source/items/imageitm.cxx
index ea10f089a88b..b4240141e798 100644
--- a/svtools/source/items/imageitm.cxx
+++ b/svtools/source/items/imageitm.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: imageitm.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 21:11:49 $
+ * last change: $Author: ihi $ $Date: 2006-08-29 11:12:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -112,7 +112,7 @@ BOOL SfxImageItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE )
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > aSeq;
if (( rVal >>= aSeq ) && ( aSeq.getLength() == 4 ))
{
- sal_Int16 nVal;
+ sal_Int16 nVal = sal_Int16();
rtl::OUString aURL;
if ( aSeq[0] >>= nVal )
SetValue( nVal );
diff --git a/svtools/source/items/intitem.cxx b/svtools/source/items/intitem.cxx
index 62f71c1d65ce..8b46d4d798b8 100644
--- a/svtools/source/items/intitem.cxx
+++ b/svtools/source/items/intitem.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: intitem.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 21:12:03 $
+ * last change: $Author: ihi $ $Date: 2006-08-29 11:12:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -138,7 +138,7 @@ BOOL SfxInt16Item::QueryValue(com::sun::star::uno::Any& rVal, BYTE) const
// virtual
BOOL SfxInt16Item::PutValue(const com::sun::star::uno::Any& rVal, BYTE )
{
- sal_Int16 nValue;
+ sal_Int16 nValue = sal_Int16();
if (rVal >>= nValue)
{
m_nValue = nValue;
diff --git a/svtools/source/items1/cintitem.cxx b/svtools/source/items1/cintitem.cxx
index 1a00fef0d838..630a9c5883ca 100644
--- a/svtools/source/items1/cintitem.cxx
+++ b/svtools/source/items1/cintitem.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cintitem.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 21:14:41 $
+ * last change: $Author: ihi $ $Date: 2006-08-29 11:12:37 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -112,7 +112,7 @@ BOOL CntByteItem::QueryValue(com::sun::star::uno::Any& rVal,BYTE) const
// virtual
BOOL CntByteItem::PutValue(const com::sun::star::uno::Any& rVal,BYTE)
{
- sal_Int8 nValue;
+ sal_Int8 nValue = sal_Int8();
if (rVal >>= nValue)
{
m_nValue = nValue;