fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / inc / undosort.hxx
blob283b99f89d1311cc317fc80b5af6049595386356
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_UNDOSORT_HXX
11 #define INCLUDED_SC_UNDOSORT_HXX
13 #include <undobase.hxx>
14 #include <sortparam.hxx>
16 namespace sc {
18 class UndoSort : public ScSimpleUndo
20 ReorderParam maParam;
22 public:
23 UndoSort( ScDocShell* pDocSh, const ReorderParam& rParam );
25 virtual OUString GetComment() const SAL_OVERRIDE;
26 virtual void Undo() SAL_OVERRIDE;
27 virtual void Redo() SAL_OVERRIDE;
29 private:
30 void Execute( bool bUndo );
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */