diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-03-10 07:37:00 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-03-10 07:37:00 +0000 |
commit | e8a207e7e37bb00e43ca3bee2150f3ab6ffcd662 (patch) | |
tree | cdb6f0a708d18dee17e01dc5383634394ff67c8d /chart2/source/controller/itemsetwrapper | |
parent | d294bd73954628b09fd63a9cb5eaf5d9aef80759 (diff) |
#i86846# initialize value
Diffstat (limited to 'chart2/source/controller/itemsetwrapper')
-rwxr-xr-x | chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx | 6 | ||||
-rw-r--r-- | chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx index e86b5d879bef..238740950d7c 100755 --- a/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ErrorBarItemConverter.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2008-03-06 16:49:53 $ + * last change: $Author: obo $ $Date: 2008-03-10 08:37:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -360,7 +360,7 @@ void ErrorBarItemConverter::FillSpecialItem( SvxChartKindError eErrorKind = CHERROR_NONE; uno::Reference< beans::XPropertySet > xErrorBarProp( GetPropertySet()); - sal_Int32 nStyle; + sal_Int32 nStyle = 0; if( xErrorBarProp->getPropertyValue( C2U( "ErrorBarStyle" )) >>= nStyle ) { switch( nStyle ) diff --git a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx index 6aea483121bf..e7f32c78f274 100644 --- a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx @@ -4,9 +4,9 @@ * * $RCSfile: StatisticsItemConverter.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: kz $ $Date: 2008-03-06 16:51:55 $ + * last change: $Author: obo $ $Date: 2008-03-10 08:35:51 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -549,7 +549,7 @@ void StatisticsItemConverter::FillSpecialItem( lcl_GetYErrorBar( GetPropertySet())); if( xErrorBarProp.is() ) { - sal_Int32 nStyle; + sal_Int32 nStyle = 0; if( xErrorBarProp->getPropertyValue( C2U( "ErrorBarStyle" )) >>= nStyle ) { switch( nStyle ) |