diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-01 12:31:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-02 11:38:29 +0100 |
commit | 610ebe90e15176a9106552790c896a8f29a3cbc7 (patch) | |
tree | 9c1f35a4a479b471b98efe8179091e5508cc6115 /chart2/source/inc | |
parent | 0691e3a0d901fe0373ec261cb22e8e6745303e5f (diff) |
use concrete types in chart2, SvxDrawPage
Change-Id: I0bdaa74595c0201a04490e293619c2c399ab03bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127838
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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/inc/chartview/DrawModelWrapper.hxx b/chart2/source/inc/chartview/DrawModelWrapper.hxx index 644501dcdace..72fad0e29eea 100644 --- a/chart2/source/inc/chartview/DrawModelWrapper.hxx +++ b/chart2/source/inc/chartview/DrawModelWrapper.hxx @@ -19,7 +19,7 @@ #pragma once #include <svx/svdmodel.hxx> - +#include <svx/unopage.hxx> #include <chartview/chartviewdllapi.hxx> namespace com::sun::star::lang { class XMultiServiceFactory; } @@ -37,8 +37,8 @@ namespace chart class OOO_DLLPUBLIC_CHARTVIEW DrawModelWrapper : private SdrModel { private: - css::uno::Reference< css::drawing::XDrawPage > m_xMainDrawPage; - css::uno::Reference< css::drawing::XDrawPage > m_xHiddenDrawPage; + rtl::Reference<SvxDrawPage> m_xMainDrawPage; + rtl::Reference<SvxDrawPage> m_xHiddenDrawPage; VclPtr<OutputDevice> m_pRefDevice; @@ -49,14 +49,14 @@ public: css::uno::Reference< css::lang::XMultiServiceFactory > getShapeFactory(); // the main page will contain the normal view objects - css::uno::Reference< css::drawing::XDrawPage > const & getMainDrawPage(); + const rtl::Reference<SvxDrawPage> & getMainDrawPage(); SAL_DLLPRIVATE void clearMainDrawPage(); // the extra page is not visible, but contains some extras like the symbols for data points - css::uno::Reference< css::drawing::XDrawPage > const & getHiddenDrawPage(); + const rtl::Reference<SvxDrawPage> & getHiddenDrawPage(); static css::uno::Reference< css::drawing::XShapes > - getChartRootShape( const css::uno::Reference< css::drawing::XDrawPage>& xPage ); + getChartRootShape( const rtl::Reference<SvxDrawPage>& xPage ); SAL_DLLPRIVATE void lockControllers(); SAL_DLLPRIVATE void unlockControllers(); |