diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-22 21:27:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-23 12:45:18 +0100 |
commit | bc518de4b9ae9d5985b3706dd4fbf60a0d6e1a79 (patch) | |
tree | 0cedfb3b0037e028f1cc97f19cb32a0f623f480c /chart2/source/controller/dialogs/DialogModel.cxx | |
parent | 5462235f5611a784b60e5a0ab1fff6a1ea6ebc1d (diff) |
remove css::chart::XDataInterpreter
these are purely internal interfaces, they cannot be used
from outside chart2.
Change-Id: I43c6d8aa96eb94e47767a4b16b89b4889f571579
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128792
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/dialogs/DialogModel.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/DialogModel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx index 86a742d2e0cb..fabb4235d796 100644 --- a/chart2/source/controller/dialogs/DialogModel.cxx +++ b/chart2/source/controller/dialogs/DialogModel.cxx @@ -19,6 +19,7 @@ #include "DialogModel.hxx" #include <RangeSelectionHelper.hxx> +#include <DataInterpreter.hxx> #include <DataSeriesHelper.hxx> #include <DataSourceHelper.hxx> #include <DiagramHelper.hxx> @@ -39,7 +40,6 @@ #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> -#include <com/sun/star/chart2/XDataInterpreter.hpp> #include <com/sun/star/chart2/data/XDataSink.hpp> #include <comphelper/sequence.hxx> #include <tools/diagnose_ex.h> @@ -346,7 +346,7 @@ Reference< XDataSeries > lcl_CreateNewSeries( //special handling for candlestick type if( xTemplate.is()) { - Reference< XDataInterpreter > xInterpreter( xTemplate->getDataInterpreter()); + rtl::Reference< ::chart::DataInterpreter > xInterpreter( xTemplate->getDataInterpreter()); if( xInterpreter.is()) { sal_Int32 nStockVariant; @@ -767,7 +767,7 @@ void DialogModel::setData( Reference< chart2::data::XDataSource > xDataSource( xDataProvider->createDataSource( rArguments ) ); - Reference< chart2::XDataInterpreter > xInterpreter( + rtl::Reference< ::chart::DataInterpreter > xInterpreter( m_xTemplate->getDataInterpreter()); if( xInterpreter.is()) { |