LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / sc / inc / refreshtimerprotector.hxx
blobfa89858eb96935cb5e4e926a836eefb482a55c23
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 <sal/config.h>
13 #include "scdllapi.h"
14 #include <memory>
16 class ScRefreshTimerControl;
18 class SC_DLLPUBLIC ScRefreshTimerProtector
20 std::unique_ptr<ScRefreshTimerControl> const& m_rpControl;
22 public:
23 ScRefreshTimerProtector(std::unique_ptr<ScRefreshTimerControl> const& rp);
24 ~ScRefreshTimerProtector();
27 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */