diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-20 09:49:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-20 14:37:10 +0100 |
commit | b39bdb65b39e86996c704cdfe14360ad317f3a1f (patch) | |
tree | 448bf1b6083f159a5c5002289e4406480ee2f8ce /chart2/source/controller/inc/TimerTriggeredControllerLock.hxx | |
parent | d6ea90ad273637d27487850bd97a1784a6bf8fa3 (diff) |
use more concrete types in chart2, ChartModel
Change-Id: Ie38d941f855978b04995162040d8871a2577255c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128641
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/inc/TimerTriggeredControllerLock.hxx')
-rw-r--r-- | chart2/source/controller/inc/TimerTriggeredControllerLock.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx b/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx index f8e899df1d19..4952e112db88 100644 --- a/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx +++ b/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx @@ -21,6 +21,7 @@ #include <com/sun/star/uno/Reference.h> #include <vcl/timer.hxx> +#include <rtl/ref.hxx> #include <memory> @@ -35,16 +36,18 @@ class ControllerLockGuardUNO; namespace chart { +class ChartModel; + class TimerTriggeredControllerLock final { public: - TimerTriggeredControllerLock(const css::uno::Reference<css::frame::XModel>& xModel); + TimerTriggeredControllerLock(const rtl::Reference<::chart::ChartModel>& xModel); ~TimerTriggeredControllerLock(); void startTimer(); private: - css::uno::Reference<css::frame::XModel> m_xModel; + rtl::Reference<::chart::ChartModel> m_xModel; std::unique_ptr<ControllerLockGuardUNO> m_apControllerLockGuard; AutoTimer m_aTimer; |