summaryrefslogtreecommitdiffstats
path: root/chart2/source/inc/DiagramHelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-19 21:02:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-22 16:08:05 +0100
commit8a728ac6cf7d8d032eb93f486618458b7814d42b (patch)
treed20de8154c46e5208f0405093c0e9b41889b8a23 /chart2/source/inc/DiagramHelper.hxx
parentMysql/MariaDB: Clean mysqlc_keys + remove using (diff)
downloadcore-8a728ac6cf7d8d032eb93f486618458b7814d42b.tar.gz
core-8a728ac6cf7d8d032eb93f486618458b7814d42b.zip
use more concrete types in chart2, ChartType
Change-Id: Ibd299e2e8d82169706d810af98c29d684809c320 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128741 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc/DiagramHelper.hxx')
-rw-r--r--chart2/source/inc/DiagramHelper.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/inc/DiagramHelper.hxx b/chart2/source/inc/DiagramHelper.hxx
index 57372a1c072e..f80d9c61ea96 100644
--- a/chart2/source/inc/DiagramHelper.hxx
+++ b/chart2/source/inc/DiagramHelper.hxx
@@ -40,6 +40,7 @@ namespace com::sun::star::util { class XNumberFormatsSupplier; }
namespace chart
{
+class ChartType;
class ChartTypeManager;
class ChartTypeTemplate;
@@ -156,7 +157,7 @@ public:
const css::uno::Reference< css::chart2::XDataSeries >& xSeries,
const css::uno::Reference< css::chart2::XDiagram >& xDiagram );
- static css::uno::Reference< css::chart2::XChartType >
+ static rtl::Reference< ChartType >
getChartTypeOfSeries(
const css::uno::Reference< css::chart2::XDiagram >& xDiagram,
const css::uno::Reference< css::chart2::XDataSeries >& xSeries );
@@ -207,11 +208,10 @@ public:
static sal_Int32 getPercentNumberFormat( const css::uno::Reference<
css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier );
- static css::uno::Reference< css::chart2::XChartType >
+ static rtl::Reference< ChartType >
getChartTypeByIndex( const css::uno::Reference< css::chart2::XDiagram >& xDiagram, sal_Int32 nIndex );
- static css::uno::Sequence<
- css::uno::Reference< css::chart2::XChartType > >
+ static std::vector< rtl::Reference< ChartType > >
getChartTypesFromDiagram(
const css::uno::Reference< css::chart2::XDiagram > & xDiagram );