Avoid potential negative array index access to cached text.
[LibreOffice.git] / vcl / inc / qt5 / QtSystem.hxx
blob760520f42a41eaba40ad4baf727c1b26906d6da6
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 <unx/gensys.h>
14 class QtSystem final : public SalGenericSystem
16 public:
17 virtual unsigned int GetDisplayScreenCount() override;
18 virtual AbsoluteScreenPixelRectangle
19 GetDisplayScreenPosSizePixel(unsigned int nScreen) override;
20 virtual int ShowNativeDialog(const OUString& rTitle, const OUString& rMessage,
21 const std::vector<OUString>& rButtons) override;
24 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */