diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-15 14:47:53 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-15 14:51:18 -0400 |
commit | 6fa4d31d6a7e363285f22d4c0012521d10073652 (patch) | |
tree | 3c1b0ea07752bb429564906e6ec68abb65d6b69e /sc/inc/scopetools.hxx | |
parent | 8e50a6c7b1cb9481cce42c71ff07e921fb4292d0 (diff) |
Use scope switch rather than manual on and off.
Change-Id: Ia4072339b6f1fd4b929d891dcc8f3bb3e2403d5e
Diffstat (limited to 'sc/inc/scopetools.hxx')
-rw-r--r-- | sc/inc/scopetools.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/inc/scopetools.hxx b/sc/inc/scopetools.hxx index 5a16c2c46361..f1a117471595 100644 --- a/sc/inc/scopetools.hxx +++ b/sc/inc/scopetools.hxx @@ -46,6 +46,15 @@ public: ~UndoSwitch(); }; +class SC_DLLPUBLIC IdleSwitch +{ + ScDocument& mrDoc; + bool mbOldValue; +public: + IdleSwitch(ScDocument& rDoc, bool bEnableIdle); + ~IdleSwitch(); +}; + } #endif |