diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:36:28 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:36:28 +0000 |
commit | c6bc20c343618ea3c464f0ea5893e76db4df3840 (patch) | |
tree | 9a10d4d3c4e1d6c421e2957cacd4ac474181d8eb /xmloff/source/style/adjushdl.cxx | |
parent | 4f6c6329d6a8781fd9e0caf81a75c4e8979f1f31 (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.
Diffstat (limited to 'xmloff/source/style/adjushdl.cxx')
-rw-r--r-- | xmloff/source/style/adjushdl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/adjushdl.cxx b/xmloff/source/style/adjushdl.cxx index 2e570322f328..391058efd634 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; |