summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-29 10:13:10 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-29 10:13:10 +0000
commit90341a3a38dfddb4c23fa07d84d89d67ff6a093b (patch)
treec4bb7aa38b9f7faafcdd896ba97dd1c7f874478b /svtools
parent2a914c9100d4d7a328a6a8abe01f0155301e7aaf (diff)
INTEGRATION: CWS warningfixes03_SRC680 (1.10.88); FILE MERGED
2006/08/18 14:31:24 mhu 1.10.88.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/numbers/numfmuno.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/numbers/numfmuno.cxx b/svtools/source/numbers/numfmuno.cxx
index 2f2cd6396eba..fcd451ff8bd2 100644
--- a/svtools/source/numbers/numfmuno.cxx
+++ b/svtools/source/numbers/numfmuno.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: numfmuno.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 21:23:34 $
+ * last change: $Author: ihi $ $Date: 2006-08-29 11:13:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1032,13 +1032,13 @@ void SAL_CALL SvNumberFormatSettingsObj::setPropertyValue( const rtl::OUString&
}
else if (aString.EqualsAscii( PROPERTYNAME_STDDEC ))
{
- sal_Int16 nInt16;
+ sal_Int16 nInt16 = sal_Int16();
if ( aValue >>= nInt16 )
pFormatter->ChangeStandardPrec( nInt16 );
}
else if (aString.EqualsAscii( PROPERTYNAME_TWODIGIT ))
{
- sal_Int16 nInt16;
+ sal_Int16 nInt16 = sal_Int16();
if ( aValue >>= nInt16 )
pFormatter->SetYear2000( nInt16 );
}