Coverage Report

Created: 2026-09-28 10:59

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/sc/source/ui/StatisticsDialogs/CovarianceDialog.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
11
#include <reffact.hxx>
12
#include <CovarianceDialog.hxx>
13
#include <scresid.hxx>
14
#include <strings.hrc>
15
16
ScCovarianceDialog::ScCovarianceDialog(
17
                        SfxBindings* pSfxBindings, SfxChildWindow* pChildWindow,
18
                        weld::Window* pParent, ScViewData& rViewData ) :
19
0
    ScMatrixComparisonGenerator(
20
0
            pSfxBindings, pChildWindow, pParent, rViewData,
21
0
            u"modules/scalc/ui/covariancedialog.ui"_ustr, u"CovarianceDialog"_ustr)
22
0
{}
23
24
TranslateId ScCovarianceDialog::GetUndoNameId()
25
0
{
26
0
    return STR_COVARIANCE_UNDO_NAME;
27
0
}
28
29
void ScCovarianceDialog::Close()
30
0
{
31
0
    DoClose( ScCovarianceDialogWrapper::GetChildWindowId() );
32
0
}
33
34
OUString ScCovarianceDialog::getLabel()
35
0
{
36
0
    return ScResId(STR_COVARIANCE_LABEL);
37
0
}
38
39
OUString ScCovarianceDialog::getTemplate()
40
0
{
41
0
    return u"=COVAR(%VAR1%; %VAR2%)"_ustr;
42
0
}
43
44
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */