Avoid potential negative array index access to cached text.
[LibreOffice.git] / vcl / inc / uiobject-internal.hxx
blobaccecb2e8f08647ae49e45b99b3e8160d3370432
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 #include <memory>
11 #include <vcl/uitest/uiobject.hxx>
12 #include "wizdlg.hxx"
14 class RoadmapWizard;
16 class RoadmapWizardUIObject final : public WindowUIObject
18 VclPtr<vcl::RoadmapWizard> mxRoadmapWizard;
20 public:
21 RoadmapWizardUIObject(const VclPtr<vcl::RoadmapWizard>& xRoadmapWizard);
22 virtual ~RoadmapWizardUIObject() override;
24 virtual StringMap get_state() override;
26 virtual void execute(const OUString& rAction, const StringMap& rParameters) override;
28 static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
30 private:
31 virtual OUString get_name() const override;
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */