diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-10-08 20:01:58 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-10-08 23:24:52 -0400 |
commit | ed0e3fdcc13e0925c16aa81f6aa461892f15d81a (patch) | |
tree | 1083627576987de7c9fc88cb6cbf254034da50c4 /sc/source/ui/inc | |
parent | 281cd4c4a0d4ffb0a99ae8239b11a2ebbb872a8c (diff) |
Start sharing common code between DeleteContents of ScViewFunc/ScDocFunc.
The goal is to have ScViewFunc::DeleteContents() simply call
ScDocFunc::DeleteContents() while doing the view only stuff in the ScViewFunc
variant. This is just a step toward that goal.
Change-Id: I2e574f9eb2b2be5340dbfb6f10739dfc2406faae
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/docfuncutil.hxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sc/source/ui/inc/docfuncutil.hxx b/sc/source/ui/inc/docfuncutil.hxx new file mode 100644 index 000000000000..20927a05ba88 --- /dev/null +++ b/sc/source/ui/inc/docfuncutil.hxx @@ -0,0 +1,21 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +class ScDocument; +class ScMarkData; + +namespace sc { + +class DocFuncUtil +{ +public: + static bool hasProtectedTab( const ScDocument& rDoc, const ScMarkData& rMark ); +}; + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |