Coverage Report

Created: 2026-07-10 11:04

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/sc/source/ui/unoobj/PivotTableDataSource.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 <PivotTableDataSource.hxx>
11
12
#include <sal/config.h>
13
14
#include <miscuno.hxx>
15
16
#include <comphelper/sequence.hxx>
17
#include <vcl/svapp.hxx>
18
19
using namespace css;
20
21
namespace sc
22
{
23
24
SC_SIMPLE_SERVICE_INFO(PivotTableDataSource, u"PivotTableDataSource"_ustr, u"com.sun.star.chart2.data.DataSource"_ustr)
25
26
PivotTableDataSource::PivotTableDataSource(std::vector<css::uno::Reference<css::chart2::data::XLabeledDataSequence>>&& xLabeledSequence)
27
0
    : m_xLabeledSequence(std::move(xLabeledSequence))
28
0
{
29
0
}
30
31
PivotTableDataSource::~PivotTableDataSource()
32
0
{
33
0
}
34
35
void PivotTableDataSource::Notify(SfxBroadcaster& /*rBroadcaster*/, const SfxHint& /*rHint*/)
36
0
{
37
0
}
38
39
uno::Sequence<uno::Reference<chart2::data::XLabeledDataSequence>> SAL_CALL
40
    PivotTableDataSource::getDataSequences()
41
0
{
42
0
    SolarMutexGuard aGuard;
43
44
0
    return comphelper::containerToSequence(m_xLabeledSequence);
45
0
}
46
47
} // end sc namespace
48
49
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */