Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / sc / source / ui / inc / undoconvert.hxx
blobd792cde714dab61f6469d8d41f16387ff8903186
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SC_UNDOCONVERT_HXX
11 #define INCLUDED_SC_UNDOCONVERT_HXX
13 #include "undobase.hxx"
14 #include <cellvalues.hxx>
16 namespace sc {
18 class UndoFormulaToValue : public ScSimpleUndo
20 TableValues maUndoValues;
22 public:
23 UndoFormulaToValue( ScDocShell* pDocSh, TableValues& rUndoValues );
25 virtual OUString GetComment() const override;
26 virtual void Undo() override;
27 virtual void Redo() override;
29 private:
30 void Execute();
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */