diff options
author | Björn Milcke <bm@openoffice.org> | 2003-11-04 11:37:45 +0000 |
---|---|---|
committer | Björn Milcke <bm@openoffice.org> | 2003-11-04 11:37:45 +0000 |
commit | 759b3eb17c50b66794547ed560358678123bddf7 (patch) | |
tree | e7ea3c7c200523c737f18fd44310932771f17fcc /chart2/source/model/template/LineChartTypeTemplate.cxx | |
parent | b001ff129865a183eab89f310e9b72ae8d1f68ca (diff) |
ChartType concept: the template creates the diagram. To determine with which
template an existing Diagram was probably created, the data series tree is
searched and according to the result the template is guessed.
OldApi chart type support
SubGrid added
Diffstat (limited to 'chart2/source/model/template/LineChartTypeTemplate.cxx')
-rw-r--r-- | chart2/source/model/template/LineChartTypeTemplate.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/model/template/LineChartTypeTemplate.cxx b/chart2/source/model/template/LineChartTypeTemplate.cxx index 1334b365c4bc..7e6dc44bfa9a 100644 --- a/chart2/source/model/template/LineChartTypeTemplate.cxx +++ b/chart2/source/model/template/LineChartTypeTemplate.cxx @@ -2,9 +2,9 @@ * * $RCSfile: LineChartTypeTemplate.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: bm $ $Date: 2003-10-06 09:58:32 $ + * last change: $Author: bm $ $Date: 2003-11-04 12:37:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,11 +70,12 @@ namespace chart LineChartTypeTemplate::LineChartTypeTemplate( uno::Reference< uno::XComponentContext > const & xContext, + const ::rtl::OUString & rServiceName, chart2::StackMode eStackMode, SplineMode eSplineMode, bool bSymbols, sal_Int32 nDim /* = 2 */ ) : - ChartTypeTemplate( xContext ), + ChartTypeTemplate( xContext, rServiceName ), m_eStackMode( eStackMode ), m_eSplineMode( eSplineMode ), m_bHasSymbols( bSymbols ), @@ -94,8 +95,7 @@ chart2::StackMode LineChartTypeTemplate::getStackMode() const return m_eStackMode; } -// ____ XChartTypeTemplate ____ -uno::Reference< chart2::XChartType > SAL_CALL LineChartTypeTemplate::getChartTypeForAdditionalSeries() +uno::Reference< chart2::XChartType > LineChartTypeTemplate::getDefaultChartType() throw (uno::RuntimeException) { return new LineChartType( m_nDim ); |