Coverage Report

Created: 2026-07-10 11:04

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/vcl/source/weld/WaitObject.cxx
Line
Count
Source
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2
/*
3
 * This file is part of the LibreOffice project.
4
 *
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
 */
9
10
#include <vcl/weld/WaitObject.hxx>
11
12
namespace weld
13
{
14
WaitObject::WaitObject(weld::Widget* pWindow)
15
7.59k
    : m_pWindow(pWindow)
16
7.59k
{
17
7.59k
    if (m_pWindow)
18
0
        m_pWindow->set_busy_cursor(true);
19
7.59k
}
20
21
WaitObject::~WaitObject()
22
7.59k
{
23
7.59k
    if (m_pWindow)
24
0
        m_pWindow->set_busy_cursor(false);
25
7.59k
}
26
}
27
28
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */