fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / StatisticsDialogs / CorrelationDialog.cxx
blobe82c580c300e5aab76fb506ff1c24b172d66aab1
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 "CorrelationDialog.hxx"
18 static const char strCorrelationTemplate[] = "=CORREL(%VAR1%; %VAR2%)";
20 ScCorrelationDialog::ScCorrelationDialog(
21 SfxBindings* pSfxBindings, SfxChildWindow* pChildWindow,
22 vcl::Window* pParent, ScViewData* pViewData ) :
23 ScMatrixComparisonGenerator(
24 pSfxBindings, pChildWindow, pParent, pViewData,
25 "CorrelationDialog", "modules/scalc/ui/correlationdialog.ui" )
28 bool ScCorrelationDialog::Close()
30 return DoClose( ScCorrelationDialogWrapper::GetChildWindowId() );
33 const OUString ScCorrelationDialog::getLabel()
35 return SC_STRLOAD(RID_STATISTICS_DLGS, STR_CORRELATION_LABEL);
38 const OUString ScCorrelationDialog::getTemplate()
40 return OUString(strCorrelationTemplate);
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */