tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / undoconvert.hxx
blob428710d83688cad07596a7d2c6fff1ff650d8b09
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 #pragma once
12 #include "undobase.hxx"
13 #include <cellvalues.hxx>
15 namespace sc
17 class UndoFormulaToValue : public ScSimpleUndo
19 TableValues maUndoValues;
21 public:
22 UndoFormulaToValue(ScDocShell* pDocSh, TableValues& rUndoValues);
24 virtual OUString GetComment() const override;
25 virtual void Undo() override;
26 virtual void Redo() override;
28 private:
29 void Execute();
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */