diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 10:01:57 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 10:01:57 +0000 |
commit | 04b41b3d4446a3d2f3a9f939782e1a3740461b30 (patch) | |
tree | a3c58056912d336b3831aff20f612965221c71c0 /xmloff | |
parent | c0e0d4f15c8643f1d47e44c3d11b77c9f9b88747 (diff) |
INTEGRATION: CWS warningfixes03_SRC680 (1.23.32); FILE MERGED
2006/08/18 14:16:24 mhu 1.23.32.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/numehelp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx index e89df3b0163e..2cd0ab901ba4 100644 --- a/xmloff/source/style/numehelp.cxx +++ b/xmloff/source/style/numehelp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: numehelp.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: hr $ $Date: 2006-06-19 18:33:49 $ + * last change: $Author: ihi $ $Date: 2006-08-29 11:01:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -316,7 +316,7 @@ sal_Int16 XMLNumberFormatAttributesExportHelper::GetCellType(const sal_Int32 nNu { uno::Reference <beans::XPropertySet> xNumberPropertySet(xNumberFormats->getByKey(nNumberFormat)); xNumberPropertySet->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(XML_STANDARDFORMAT))) >>= bIsStandard; - sal_Int16 nNumberType; + sal_Int16 nNumberType = sal_Int16(); if ( xNumberPropertySet->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(XML_TYPE))) >>= nNumberType ) { return nNumberType; @@ -399,7 +399,7 @@ sal_Int16 XMLNumberFormatAttributesExportHelper::GetCellType(const sal_Int32 nNu if (xNumberPropertySet.is()) { xNumberPropertySet->getPropertyValue(sStandardFormat) >>= bIsStandard; - sal_Int16 nNumberType; + sal_Int16 nNumberType = sal_Int16(); if ( xNumberPropertySet->getPropertyValue(sType) >>= nNumberType ) { return nNumberType; |