diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-19 12:39:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-19 13:46:01 +0100 |
commit | f0f87108ab1560558c5b11185acc2bdfde150b8a (patch) | |
tree | 0956d440c14d31973eacb49dfe6ca53abd4780ff /chart2/source/inc | |
parent | sw_fieldmarkhide: disable layout cache if there are fieldmarks (diff) | |
download | core-f0f87108ab1560558c5b11185acc2bdfde150b8a.tar.gz core-f0f87108ab1560558c5b11185acc2bdfde150b8a.zip |
use more concrete types in chart2, Diagram
Change-Id: I870f6d9fa4c0b51cf7c887199079fdbabbca1fec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128597
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/ChartModelHelper.hxx | 6 | ||||
-rw-r--r-- | chart2/source/inc/OPropertySet.hxx | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/chart2/source/inc/ChartModelHelper.hxx b/chart2/source/inc/ChartModelHelper.hxx index e6b966c3fefa..ee443a5def25 100644 --- a/chart2/source/inc/ChartModelHelper.hxx +++ b/chart2/source/inc/ChartModelHelper.hxx @@ -20,6 +20,7 @@ #include <com/sun/star/awt/Size.hpp> #include "charttoolsdllapi.hxx" +#include <rtl/ref.hxx> #include <vector> @@ -36,6 +37,7 @@ namespace com::sun::star::view { class XSelectionSupplier; } namespace chart { +class Diagram; class OOO_DLLPUBLIC_CHARTTOOLS ChartModelHelper { @@ -46,10 +48,10 @@ public: static css::uno::Reference< css::chart2::data::XDataProvider > createInternalDataProvider( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc, bool bConnectToModel ); - static css::uno::Reference< css::chart2::XDiagram > + static rtl::Reference< Diagram > findDiagram( const css::uno::Reference< css::frame::XModel >& xModel ); - static css::uno::Reference< css::chart2::XDiagram > + static rtl::Reference< Diagram > findDiagram( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc ); static css::uno::Reference< css::chart2::XCoordinateSystem > diff --git a/chart2/source/inc/OPropertySet.hxx b/chart2/source/inc/OPropertySet.hxx index 346e89b99c94..2676b444dc37 100644 --- a/chart2/source/inc/OPropertySet.hxx +++ b/chart2/source/inc/OPropertySet.hxx @@ -26,6 +26,7 @@ #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/beans/XMultiPropertyStates.hpp> #include <com/sun/star/style/XStyleSupplier.hpp> +#include "charttoolsdllapi.hxx" #include <map> @@ -143,6 +144,7 @@ protected: */ virtual void firePropertyChangeEvent(); +public: // Interfaces // ____ XInterface ____ @@ -159,6 +161,7 @@ protected: getPropertyState( const OUString& PropertyName ) override; virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override; + OOO_DLLPUBLIC_CHARTTOOLS virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override; virtual css::uno::Any SAL_CALL |