diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-18 15:59:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-19 07:05:00 +0100 |
commit | f8a3ce5db8382a3769617c215cb0f7b1da611fe5 (patch) | |
tree | ee278a75d35fb14637d3aedbc15e275249db93ec /chart2/source/inc | |
parent | 40bab1e31c7865f8c45883b8e4b684c0134b9191 (diff) |
use more concrete types in chart2, ChartTypeTemplate
Change-Id: I1bfbc81ca0d44efc669e5bc2b525cfa8b51be1ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128561
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/DiagramHelper.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chart2/source/inc/DiagramHelper.hxx b/chart2/source/inc/DiagramHelper.hxx index d66775624775..e1a0fcdfa978 100644 --- a/chart2/source/inc/DiagramHelper.hxx +++ b/chart2/source/inc/DiagramHelper.hxx @@ -22,6 +22,7 @@ #include "charttoolsdllapi.hxx" #include <com/sun/star/awt/Rectangle.hpp> #include <com/sun/star/chart2/XChartTypeTemplate.hpp> +#include <rtl/ref.hxx> #include <utility> #include <vector> @@ -39,6 +40,7 @@ namespace com::sun::star::util { class XNumberFormatsSupplier; } namespace chart { +class ChartTypeManager; enum DiagramPositioningMode { @@ -66,7 +68,7 @@ public: static tTemplateWithServiceName getTemplateForDiagram( const css::uno::Reference< css::chart2::XDiagram > & xDiagram, - const css::uno::Reference< css::lang::XMultiServiceFactory > & xChartTypeManager); + const rtl::Reference< ::chart::ChartTypeManager > & xChartTypeManager); /** Sets the "SwapXAndYAxis" property at all coordinate systems found in the given diagram. |