diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 09:59:12 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 09:59:12 +0000 |
commit | 548d1565eb986ce453fce043309bde8e94fa9a0f (patch) | |
tree | babf6b5dda886de0dc5c0367a259d4644887c545 /xmloff/source/draw/animationexport.cxx | |
parent | ab7f9bb880be5f9d1eec2379bbf043e7df1b60db (diff) |
INTEGRATION: CWS warningfixes03_SRC680 (1.7.32); FILE MERGED
2006/08/18 14:16:21 mhu 1.7.32.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'xmloff/source/draw/animationexport.cxx')
-rw-r--r-- | xmloff/source/draw/animationexport.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx index db058eed99e1..7ab890754f95 100644 --- a/xmloff/source/draw/animationexport.cxx +++ b/xmloff/source/draw/animationexport.cxx @@ -4,9 +4,9 @@ * * $RCSfile: animationexport.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: hr $ $Date: 2006-06-19 18:09:08 $ + * last change: $Author: ihi $ $Date: 2006-08-29 10:59:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -870,7 +870,7 @@ void AnimationsExporterImpl::exportNode( const Reference< XAnimationNode >& xNod { if( IsXMLToken( pValue->Name, XML_NODE_TYPE ) ) { - sal_Int16 nNodeType; + sal_Int16 nNodeType = sal_Int16(); if( (pValue->Value >>= nNodeType) && (nNodeType != EffectNodeType::DEFAULT) ) { SvXMLUnitConverter::convertEnum( sTmp, (USHORT)nNodeType, getAnimationsEnumMap(Animations_EnumMap_EffectNodeType) ); @@ -894,7 +894,7 @@ void AnimationsExporterImpl::exportNode( const Reference< XAnimationNode >& xNod } else if( IsXMLToken( pValue->Name, XML_PRESET_CLASS ) ) { - sal_Int16 nEffectPresetClass; + sal_Int16 nEffectPresetClass = sal_Int16(); if( pValue->Value >>= nEffectPresetClass ) { SvXMLUnitConverter::convertEnum( sTmp, (USHORT)nEffectPresetClass, getAnimationsEnumMap(Animations_EnumMap_EffectPresetClass) ); |