Coverage Report

Created: 2025-12-31 10:39

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/drawinglayer/source/attribute/sdrglowattribute.cxx
Line
Count
Source
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 <drawinglayer/attribute/sdrglowattribute.hxx>
11
12
namespace drawinglayer::attribute
13
{
14
SdrGlowAttribute::SdrGlowAttribute(sal_Int32 nRadius, const Color& rColor)
15
0
    : m_nRadius(nRadius)
16
0
    , m_color(rColor)
17
0
{
18
0
}
19
20
1.98k
SdrGlowAttribute::SdrGlowAttribute() = default;
21
22
3.37k
SdrGlowAttribute::SdrGlowAttribute(const SdrGlowAttribute&) = default;
23
24
1.98k
SdrGlowAttribute::SdrGlowAttribute(SdrGlowAttribute&&) = default;
25
26
0
SdrGlowAttribute& SdrGlowAttribute::operator=(const SdrGlowAttribute&) = default;
27
28
0
SdrGlowAttribute& SdrGlowAttribute::operator=(SdrGlowAttribute&&) = default;
29
30
bool SdrGlowAttribute::operator==(const SdrGlowAttribute& rCandidate) const
31
537
{
32
537
    return m_nRadius == rCandidate.m_nRadius && m_color == rCandidate.m_color;
33
537
}
34
35
} // end of namespace drawinglayer::attribute
36
37
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */