summaryrefslogtreecommitdiffstats
path: root/chart2/source/inc/ChartTypeHelper.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/ChartTypeHelper.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/ChartTypeHelper.hxx')
-rw-r--r--chart2/source/inc/ChartTypeHelper.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/chart2/source/inc/ChartTypeHelper.hxx b/chart2/source/inc/ChartTypeHelper.hxx
index d4917be283fb..151df377f800 100644
--- a/chart2/source/inc/ChartTypeHelper.hxx
+++ b/chart2/source/inc/ChartTypeHelper.hxx
@@ -21,12 +21,14 @@
#include <com/sun/star/drawing/Direction3D.hpp>
#include "charttoolsdllapi.hxx"
+#include <rtl/ref.hxx>
namespace com::sun::star::chart2 { class XChartType; }
namespace com::sun::star::chart2 { class XDataSeries; }
namespace chart
{
+class ChartType;
class OOO_DLLPUBLIC_CHARTTOOLS ChartTypeHelper
{
@@ -47,6 +49,7 @@ public:
static bool isSupportingBaseValue( const css::uno::Reference< css::chart2::XChartType >& xChartType );
static bool isSupportingAxisPositioning( const css::uno::Reference< css::chart2::XChartType >& xChartType, sal_Int32 nDimensionCount, sal_Int32 nDimensionIndex );
static bool isSupportingDateAxis( const css::uno::Reference< css::chart2::XChartType >& xChartType, sal_Int32 nDimensionIndex );
+ static bool isSupportingDateAxis( const rtl::Reference< ::chart::ChartType >& xChartType, sal_Int32 nDimensionIndex );
static bool isSupportingComplexCategory( const css::uno::Reference< css::chart2::XChartType >& xChartType );
static bool isSupportingCategoryPositioning( const css::uno::Reference< css::chart2::XChartType >& xChartType, sal_Int32 nDimensionCount );
static bool shiftCategoryPosAtXAxisPerDefault( const css::uno::Reference< css::chart2::XChartType >& xChartType );