summaryrefslogtreecommitdiff
path: root/chart2/source/controller
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-12-10 16:08:15 +0000
committerBjörn Milcke <bm@openoffice.org>2003-12-10 16:08:15 +0000
commitc043a59ba17addafe4bb983282956a01450cf7f5 (patch)
tree2eb22b7539f1a387190dffb44701074a136d4dab /chart2/source/controller
parentd7c8b60bb0de91f69381f549979017753471b001 (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.cxx12
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;