LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / sfx2 / source / accessibility / AccessibilityIssue.cxx
blobaa58c39244766acb31952d13a446bba588f10862
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/.
9 */
11 #include <sfx2/AccessibilityIssue.hxx>
13 namespace sfx
15 AccessibilityIssue::AccessibilityIssue(AccessibilityIssueID eIssueID)
16 : m_eIssueID(eIssueID)
20 AccessibilityIssue::~AccessibilityIssue() {}
22 std::vector<std::shared_ptr<AccessibilityIssue>>& AccessibilityIssueCollection::getIssues()
24 return m_aIssues;
27 void AccessibilityIssueCollection::clear() { m_aIssues.clear(); }
29 } // end sfx namespace
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */