diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-10-31 10:14:53 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-11-13 10:33:16 +0100 |
commit | 4753b9a2435a6ddab54c99aee12c52b25bad7c06 (patch) | |
tree | be4cd1481c7632dbed3bbf58d2345f975d77deb0 /sc/inc/refreshtimerprotector.hxx | |
parent | [docx] CustomXml relationship files saved in InteropGrabBag and exported. (diff) | |
download | core-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/refreshtimerprotector.hxx')
-rw-r--r-- | sc/inc/refreshtimerprotector.hxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sc/inc/refreshtimerprotector.hxx b/sc/inc/refreshtimerprotector.hxx new file mode 100644 index 000000000000..d2169cdc090d --- /dev/null +++ b/sc/inc/refreshtimerprotector.hxx @@ -0,0 +1,28 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef SC_REFRESHTIMERPROTECTOR_HXX +#define SC_REFRESHTIMERPROTECTOR_HXX + +#include <sal/config.h> + +class ScRefreshTimerControl; + +class ScRefreshTimerProtector +{ + ScRefreshTimerControl * const * ppControl; + +public: + ScRefreshTimerProtector( ScRefreshTimerControl * const * pp ); + ~ScRefreshTimerProtector(); +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |