GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vector
[LibreOffice.git] / sc / source / ui / StatisticsDialogs / CovarianceDialog.cxx
blob432ca4673576310b1ff6340ec0cfa5302da79d54
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 */
11 #include "docsh.hxx"
12 #include "reffact.hxx"
13 #include "strload.hxx"
14 #include "StatisticsDialogs.hrc"
16 #include "CovarianceDialog.hxx"
18 namespace
20 static const OUString strCovarianceTemplate("=COVAR(%VAR1%; %VAR2%)");
23 ScCovarianceDialog::ScCovarianceDialog(
24 SfxBindings* pSfxBindings, SfxChildWindow* pChildWindow,
25 Window* pParent, ScViewData* pViewData ) :
26 ScMatrixComparisonGenerator(
27 pSfxBindings, pChildWindow, pParent, pViewData,
28 "CovarianceDialog", "modules/scalc/ui/covariancedialog.ui" )
31 sal_Bool ScCovarianceDialog::Close()
33 return DoClose( ScCovarianceDialogWrapper::GetChildWindowId() );
36 const OUString ScCovarianceDialog::getLabel()
38 return SC_STRLOAD(RID_STATISTICS_DLGS, STR_COVARIANCE_LABEL);
41 const OUString ScCovarianceDialog::getTemplate()
43 return strCovarianceTemplate;
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */