summaryrefslogtreecommitdiffstats
path: root/sc/inc/refreshtimer.hxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-10-31 10:14:53 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2013-11-13 10:33:16 +0100
commit4753b9a2435a6ddab54c99aee12c52b25bad7c06 (patch)
treebe4cd1481c7632dbed3bbf58d2345f975d77deb0 /sc/inc/refreshtimer.hxx
parent[docx] CustomXml relationship files saved in InteropGrabBag and exported. (diff)
downloadcore-4753b9a2435a6ddab54c99aee12c52b25bad7c06.tar.gz
core-4753b9a2435a6ddab54c99aee12c52b25bad7c06.zip
move ScRefreshTimerProtector into its own header file
So that, we don't have to include "refreshtimer.hxx" in docsh.hxx. Also implement destructor in source file. Change-Id: Ie0251ad3511b44cf1dd6dae34e22ade0ab32cec4
Diffstat (limited to 'sc/inc/refreshtimer.hxx')
-rw-r--r--sc/inc/refreshtimer.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/sc/inc/refreshtimer.hxx b/sc/inc/refreshtimer.hxx
index 0ee9a374b50b..bbc5a9f1da63 100644
--- a/sc/inc/refreshtimer.hxx
+++ b/sc/inc/refreshtimer.hxx
@@ -46,21 +46,6 @@ public:
::osl::Mutex& GetMutex() { return aMutex; }
};
-class ScRefreshTimerProtector
-{
-private:
- ScRefreshTimerControl * const * ppControl;
-
-public:
- ScRefreshTimerProtector( ScRefreshTimerControl * const * pp );
-
- ~ScRefreshTimerProtector()
- {
- if ( ppControl && *ppControl )
- (*ppControl)->SetAllowRefresh( true );
- }
-};
-
class ScRefreshTimer : public AutoTimer
{
private: