summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/inc/TimerTriggeredControllerLock.hxx')
-rw-r--r--chart2/source/controller/inc/TimerTriggeredControllerLock.hxx21
1 files changed, 13 insertions, 8 deletions
diff --git a/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx b/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx
index e8018ae4370a..f8e899df1d19 100644
--- a/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx
+++ b/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx
@@ -24,26 +24,31 @@
#include <memory>
-namespace com::sun::star::frame { class XModel; }
-namespace chart { class ControllerLockGuardUNO; }
-
+namespace com::sun::star::frame
+{
+class XModel;
+}
namespace chart
{
+class ControllerLockGuardUNO;
+}
+namespace chart
+{
class TimerTriggeredControllerLock final
{
public:
- TimerTriggeredControllerLock( const css::uno::Reference< css::frame::XModel >& xModel );
+ TimerTriggeredControllerLock(const css::uno::Reference<css::frame::XModel>& xModel);
~TimerTriggeredControllerLock();
void startTimer();
private:
- css::uno::Reference< css::frame::XModel > m_xModel;
- std::unique_ptr< ControllerLockGuardUNO > m_apControllerLockGuard;
- AutoTimer m_aTimer;
+ css::uno::Reference<css::frame::XModel> m_xModel;
+ std::unique_ptr<ControllerLockGuardUNO> m_apControllerLockGuard;
+ AutoTimer m_aTimer;
- DECL_LINK( TimerTimeout, Timer*, void );
+ DECL_LINK(TimerTimeout, Timer*, void);
};
} //namespace chart