diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-21 22:02:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-22 20:26:06 +0100 |
commit | 58766f997d59e4684f2887fd8cdeb12d2f8a9366 (patch) | |
tree | 9405e9683579dd0904d2a7d8c17209e84ebefa14 /chart2/source/model/template/ColumnLineChartTypeTemplate.cxx | |
parent | Use o3tl::convert instead of OutputDevice::LogicToLogic (diff) | |
download | core-58766f997d59e4684f2887fd8cdeb12d2f8a9366.tar.gz core-58766f997d59e4684f2887fd8cdeb12d2f8a9366.zip |
remove css::chart::XChartTypeTemplate
these are purely internal interfaces, they cannot be used
from outside chart2.
Change-Id: Ib89e98e8099c34a530951bd85236fced216aff18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128784
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/template/ColumnLineChartTypeTemplate.cxx')
-rw-r--r-- | chart2/source/model/template/ColumnLineChartTypeTemplate.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx index e0ab9a713903..6ed0bf845657 100644 --- a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx +++ b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> +#include <com/sun/star/chart2/XDiagram.hpp> #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -235,7 +236,7 @@ void ColumnLineChartTypeTemplate::createChartTypes( } } -void SAL_CALL ColumnLineChartTypeTemplate::applyStyle( +void ColumnLineChartTypeTemplate::applyStyle( const Reference< chart2::XDataSeries >& xSeries, ::sal_Int32 nChartTypeIndex, ::sal_Int32 nSeriesIndex, @@ -267,9 +268,9 @@ StackMode ColumnLineChartTypeTemplate::getStackMode( sal_Int32 nChartTypeIndex ) } // ____ XChartTypeTemplate ____ -sal_Bool SAL_CALL ColumnLineChartTypeTemplate::matchesTemplate( +bool ColumnLineChartTypeTemplate::matchesTemplate( const uno::Reference< XDiagram >& xDiagram, - sal_Bool bAdaptProperties ) + bool bAdaptProperties ) { bool bResult = false; @@ -364,7 +365,7 @@ Reference< chart2::XChartType > ColumnLineChartTypeTemplate::getChartTypeForInde return xCT; } -Reference< XChartType > SAL_CALL ColumnLineChartTypeTemplate::getChartTypeForNewSeries( +Reference< XChartType > ColumnLineChartTypeTemplate::getChartTypeForNewSeries( const uno::Sequence< Reference< chart2::XChartType > >& aFormerlyUsedChartTypes ) { Reference< chart2::XChartType > xResult; @@ -385,7 +386,7 @@ Reference< XChartType > SAL_CALL ColumnLineChartTypeTemplate::getChartTypeForNew return xResult; } -Reference< XDataInterpreter > SAL_CALL ColumnLineChartTypeTemplate::getDataInterpreter() +Reference< XDataInterpreter > ColumnLineChartTypeTemplate::getDataInterpreter() { if( ! m_xDataInterpreter.is()) { |