diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-24 11:52:18 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-24 16:51:25 -0400 |
commit | c008dc483f8c6840803983e7e351cec6fdd32070 (patch) | |
tree | 7c88eeabde57ea4a3c1a760d1c02ea2fd37bd721 /sc/inc/scopetools.hxx | |
parent | 75dec25730c88bdb8eb5e2a3f92689460fa89d29 (diff) |
Switch to using multi_type_vector for cell storage.
The old style cell storage is no more. Currently the code is buildable,
but crashes during unit test.
Change-Id: Ie688e22e95c7fb02b9e97b23df0fc1883a97945f
Diffstat (limited to 'sc/inc/scopetools.hxx')
-rw-r--r-- | sc/inc/scopetools.hxx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sc/inc/scopetools.hxx b/sc/inc/scopetools.hxx new file mode 100644 index 000000000000..590ccbf0f2ce --- /dev/null +++ b/sc/inc/scopetools.hxx @@ -0,0 +1,33 @@ +/* -*- 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_SCOPETOOLS_HXX +#define SC_SCOPETOOLS_HXX + +class ScDocument; + +namespace sc { + +/** + * Temporarily switch on/off auto calculation mode. + */ +class AutoCalcSwitch +{ + ScDocument& mrDoc; + bool mbOldValue; +public: + AutoCalcSwitch(ScDocument& rDoc, bool bAutoCalc); + ~AutoCalcSwitch(); +}; + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |