diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 10:01:36 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 10:01:36 +0000 |
commit | 052c7dab0a4b4b084aacf96c532f65ff68df0135 (patch) | |
tree | 320c494e3887c9f546aa5c614404dec61e449e50 /xmloff/source/style/fonthdl.cxx | |
parent | 6646129839d2a20624c638d063a48a1eebfc8beb (diff) |
INTEGRATION: CWS warningfixes03_SRC680 (1.9.32); FILE MERGED
2006/08/18 14:16:24 mhu 1.9.32.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'xmloff/source/style/fonthdl.cxx')
-rw-r--r-- | xmloff/source/style/fonthdl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/style/fonthdl.cxx b/xmloff/source/style/fonthdl.cxx index 22d63ca7c8d9..ca571b8577cd 100644 --- a/xmloff/source/style/fonthdl.cxx +++ b/xmloff/source/style/fonthdl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fonthdl.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hr $ $Date: 2006-06-19 18:32:40 $ + * last change: $Author: ihi $ $Date: 2006-08-29 11:01:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -250,7 +250,7 @@ sal_Bool XMLFontFamilyPropHdl::exportXML( OUString& rStrExpValue, const uno::Any sal_Bool bRet = sal_False; OUStringBuffer aOut; - sal_Int16 nFamily; + sal_Int16 nFamily = sal_Int16(); if( rValue >>= nFamily ) { FontFamily eFamily = (FontFamily)nFamily; @@ -287,7 +287,7 @@ sal_Bool XMLFontEncodingPropHdl::exportXML( OUString& rStrExpValue, const uno::A { sal_Bool bRet = sal_False; OUStringBuffer aOut; - sal_Int16 nSet; + sal_Int16 nSet = sal_Int16(); if( rValue >>= nSet ) { @@ -326,7 +326,7 @@ sal_Bool XMLFontPitchPropHdl::importXML( const OUString& rStrImpValue, uno::Any& sal_Bool XMLFontPitchPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const { sal_Bool bRet = sal_False; - sal_Int16 nPitch; + sal_Int16 nPitch = sal_Int16(); OUStringBuffer aOut; FontPitch ePitch = PITCH_DONTKNOW; |