diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-01-09 10:21:59 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-01-09 10:21:59 +0000 |
commit | 14d3052982a209e5c7f747faafb853b92ebeb175 (patch) | |
tree | 063f3e3e6651d33c73d292d7b2896b1bf7b3e803 /sd/source/filter/grf | |
parent | 412fc7ed2fdd2ef6781b34646e64269c9eda2d2a (diff) |
INTEGRATION: CWS pj69 (1.20.2); FILE MERGED
2007/01/03 14:53:07 pjanik 1.20.2.1: #i73070#: Add initializations to prevent warnings.
Diffstat (limited to 'sd/source/filter/grf')
-rw-r--r-- | sd/source/filter/grf/sdgrffilter.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx index 1c548c9908a6..62c92f5dc17d 100644 --- a/sd/source/filter/grf/sdgrffilter.cxx +++ b/sd/source/filter/grf/sdgrffilter.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sdgrffilter.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: kz $ $Date: 2006-12-12 16:41:48 $ + * last change: $Author: vg $ $Date: 2007-01-09 11:21:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -524,7 +524,7 @@ void SdGRFFilter::SaveGraphic( const ::com::sun::star::uno::Reference< ::com::su // gif for animated pixel // png for non animated pixel // svm for vector format - sal_Int8 nGraphicType; + sal_Int8 nGraphicType = 0; xGraphicSet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "GraphicType" ) ) ) >>= nGraphicType; switch( nGraphicType ) { @@ -534,7 +534,7 @@ void SdGRFFilter::SaveGraphic( const ::com::sun::star::uno::Reference< ::com::su case ::com::sun::star::graphic::GraphicType::PIXEL: { - sal_Bool bAnimated; + sal_Bool bAnimated = sal_False; xGraphicSet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "Animated" ) ) ) >>= bAnimated; if( bAnimated ) |