Avoid potential negative array index access to cached text.
[LibreOffice.git] / vcl / inc / headless / svpdata.hxx
blobf995d7ef396fafcd7b6e4d34590405a528988da9
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/gendata.hxx>
14 class SvpSalData : public GenericUnixSalData
16 public:
17 explicit SvpSalData()
18 : GenericUnixSalData()
21 virtual void ErrorTrapPush() override {}
22 virtual bool ErrorTrapPop(bool /*bIgnoreError*/ = true) override { return false; }
25 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */