summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 15:36:28 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 15:36:28 +0000
commit21c4fb39deb46b6ef95d39ab60d1e186f33f26cf (patch)
tree63b7aa0fd936d095434c0e57b07ebe02bf8f14ee
parentabdb8f24b421a02f6a7780a6c90b441e49ba90a6 (diff)
INTEGRATION: CWS warningfixes02 (1.6.146); FILE MERGED
2006/06/30 12:00:23 sb 1.6.146.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
-rw-r--r--xmloff/source/style/adjushdl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/adjushdl.cxx b/xmloff/source/style/adjushdl.cxx
index 7d31c35366..acaf2fdf4b 100644
--- a/xmloff/source/style/adjushdl.cxx
+++ b/xmloff/source/style/adjushdl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: adjushdl.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 14:36:13 $
+ * last change: $Author: kz $ $Date: 2006-07-19 16:36:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -114,7 +114,7 @@ sal_Bool XMLParaAdjustPropHdl::exportXML( OUString& rStrExpValue, const uno::Any
if(!rValue.hasValue())
return sal_False; //added by BerryJia for fixing Bug102407 2002-11-5
OUStringBuffer aOut;
- sal_Int16 nVal;
+ sal_Int16 nVal = 0;
rValue >>= nVal;
@@ -149,7 +149,7 @@ sal_Bool XMLLastLineAdjustPropHdl::importXML( const OUString& rStrImpValue, uno:
sal_Bool XMLLastLineAdjustPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const
{
OUStringBuffer aOut;
- sal_Int16 nVal;
+ sal_Int16 nVal = 0;
sal_Bool bRet = sal_False;
rValue >>= nVal;