diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-03 14:01:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-03 14:57:57 +0100 |
commit | 8f0ce842dffe229d31bd9841ac6e999da1ae976d (patch) | |
tree | 404b2928ceba78860c7ed61645990f904b2f24e6 /chart2/source/inc | |
parent | 7d90a00a49435ddf9545a62dfea93b34ad9fb4ee (diff) |
use more SvxShape in chart2
Change-Id: I4a445ca3501d32cd8ff04f12239cce52457b9228
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127889
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/chartview/DrawModelWrapper.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/inc/chartview/DrawModelWrapper.hxx b/chart2/source/inc/chartview/DrawModelWrapper.hxx index fcf684eedfa4..acd829394c26 100644 --- a/chart2/source/inc/chartview/DrawModelWrapper.hxx +++ b/chart2/source/inc/chartview/DrawModelWrapper.hxx @@ -20,6 +20,7 @@ #include <svx/svdmodel.hxx> #include <svx/unopage.hxx> +#include <svx/unoshape.hxx> #include <chartview/chartviewdllapi.hxx> namespace com::sun::star::lang { class XMultiServiceFactory; } @@ -55,7 +56,7 @@ public: // the extra page is not visible, but contains some extras like the symbols for data points const rtl::Reference<SvxDrawPage> & getHiddenDrawPage(); - static css::uno::Reference< css::drawing::XShapes > + static rtl::Reference<SvxShapeGroupAnyD> getChartRootShape( const rtl::Reference<SvxDrawPage>& xPage ); SAL_DLLPRIVATE void lockControllers(); @@ -82,8 +83,7 @@ public: SdrObject* getNamedSdrObject( const OUString& rName ); static SdrObject* getNamedSdrObject( const OUString& rName, SdrObjList const * pObjList ); - static bool removeShape( const css::uno::Reference< css::drawing::XShape >& xShape ); - static bool removeShape( SvxShape& rShape ); + static bool removeShape( const rtl::Reference<SvxShape>& xShape ); void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; |