diff options
author | Björn Milcke <bm@openoffice.org> | 2003-12-10 16:08:15 +0000 |
---|---|---|
committer | Björn Milcke <bm@openoffice.org> | 2003-12-10 16:08:15 +0000 |
commit | c043a59ba17addafe4bb983282956a01450cf7f5 (patch) | |
tree | 2eb22b7539f1a387190dffb44701074a136d4dab /chart2/source/controller | |
parent | d7c8b60bb0de91f69381f549979017753471b001 (diff) |
if there is no regression curve in the container, the type is NONE
Diffstat (limited to 'chart2/source/controller')
-rw-r--r-- | chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx index 75c365607ed8..b4ada07fe01a 100644 --- a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx @@ -2,9 +2,9 @@ * * $RCSfile: StatisticsItemConverter.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: bm $ $Date: 2003-12-10 14:55:26 $ + * last change: $Author: bm $ $Date: 2003-12-10 17:08:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -667,11 +667,9 @@ void StatisticsItemConverter::FillSpecialItem( case SCHATTR_STAT_REGRESSTYPE: { SvxChartRegress eRegress = CHREGRESS_NONE; - if( lcl_getRegressType( uno::Reference< chart2::XRegressionCurveContainer >( - GetPropertySet(), uno::UNO_QUERY ), eRegress ) ) - { - rOutItemSet.Put( SvxChartRegressItem( eRegress )); - } + lcl_getRegressType( uno::Reference< chart2::XRegressionCurveContainer >( + GetPropertySet(), uno::UNO_QUERY ), eRegress ); + rOutItemSet.Put( SvxChartRegressItem( eRegress )); } break; |