Coverage Report

Created: 2026-09-28 10:59

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/chart2/source/controller/dialogs/tp_DataTable.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 "tp_DataTable.hxx"
11
12
namespace chart
13
{
14
DataTableTabPage::DataTableTabPage(weld::Container* pPage, weld::DialogController* pController,
15
                                   const SfxItemSet& rInAttrs)
16
0
    : SfxTabPage(pPage, pController, u"modules/schart/ui/tp_DataTable.ui"_ustr,
17
0
                 u"DataTableTabPage"_ustr, &rInAttrs)
18
0
    , m_aDataTablePropertiesResources(*m_xBuilder)
19
0
{
20
0
}
21
22
0
DataTableTabPage::~DataTableTabPage() = default;
23
24
std::unique_ptr<SfxTabPage> DataTableTabPage::Create(weld::Container* pPage,
25
                                                     weld::DialogController* pController,
26
                                                     const SfxItemSet* rAttrs)
27
0
{
28
0
    return std::make_unique<DataTableTabPage>(pPage, pController, *rAttrs);
29
0
}
30
31
bool DataTableTabPage::FillItemSet(SfxItemSet* pOutAttrs)
32
0
{
33
0
    return m_aDataTablePropertiesResources.writeToItemSet(*pOutAttrs);
34
0
}
35
36
void DataTableTabPage::Reset(const SfxItemSet* pInAttrs)
37
0
{
38
0
    m_aDataTablePropertiesResources.initFromItemSet(*pInAttrs);
39
0
}
40
41
} //namespace chart
42
43
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */