summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2004-01-28 09:39:00 +0000
committerBjörn Milcke <bm@openoffice.org>2004-01-28 09:39:00 +0000
commit59d1deae7f6ec299f51726a3aa21c82b1789d3e0 (patch)
treee8c458fccb8f3a7eaf9fcfed62ab8e91ea37fbe4 /chart2
parentd27e128ee7985158c04dfc3bb12e342572ac4ea8 (diff)
static_cast from enum to different enum not allowed on Solaris
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx
index 0a6b32640590..0ef91f2c5249 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.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: bm $ $Date: 2004-01-28 10:37:39 $
+ * last change: $Author: bm $ $Date: 2004-01-28 10:39:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -651,9 +651,10 @@ void StatisticsItemConverter::FillSpecialItem(
case SCHATTR_STAT_REGRESSTYPE:
{
SvxChartRegress eRegress = static_cast< SvxChartRegress >(
- RegressionCurveHelper::getRegressType(
- uno::Reference< chart2::XRegressionCurveContainer >(
- GetPropertySet(), uno::UNO_QUERY ) ));
+ static_cast< sal_Int32 >(
+ RegressionCurveHelper::getRegressType(
+ uno::Reference< chart2::XRegressionCurveContainer >(
+ GetPropertySet(), uno::UNO_QUERY ) )));
rOutItemSet.Put( SvxChartRegressItem( eRegress ));
}
break;