summaryrefslogtreecommitdiff
path: root/sc/inc/refreshtimerprotector.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/refreshtimerprotector.hxx')
-rw-r--r--sc/inc/refreshtimerprotector.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/refreshtimerprotector.hxx b/sc/inc/refreshtimerprotector.hxx
index 743643a48b28..9a4f41b6e209 100644
--- a/sc/inc/refreshtimerprotector.hxx
+++ b/sc/inc/refreshtimerprotector.hxx
@@ -17,10 +17,10 @@ class ScRefreshTimerControl;
class SC_DLLPUBLIC ScRefreshTimerProtector
{
- ScRefreshTimerControl * const & m_rpControl;
+ std::unique_ptr<ScRefreshTimerControl> const & m_rpControl;
public:
- ScRefreshTimerProtector( ScRefreshTimerControl * const & rp );
+ ScRefreshTimerProtector( std::unique_ptr<ScRefreshTimerControl> const & rp );
~ScRefreshTimerProtector();
};