LCOV - code coverage report
Current view: top level - sc/source/ui/StatisticsDialogs - CorrelationDialog.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 2 11 18.2 %
Date: 2014-11-03 Functions: 2 6 33.3 %
Legend: Lines: hit not hit

          Line data    Source code
       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 "docsh.hxx"
      12             : #include "reffact.hxx"
      13             : #include "strload.hxx"
      14             : #include "StatisticsDialogs.hrc"
      15             : 
      16             : #include "CorrelationDialog.hxx"
      17             : 
      18             : namespace
      19             : {
      20          76 :     static const OUString strCorrelationTemplate("=CORREL(%VAR1%; %VAR2%)");
      21             : }
      22             : 
      23           0 : ScCorrelationDialog::ScCorrelationDialog(
      24             :                         SfxBindings* pSfxBindings, SfxChildWindow* pChildWindow,
      25             :                         vcl::Window* pParent, ScViewData* pViewData ) :
      26             :     ScMatrixComparisonGenerator(
      27             :             pSfxBindings, pChildWindow, pParent, pViewData,
      28           0 :             "CorrelationDialog", "modules/scalc/ui/correlationdialog.ui" )
      29           0 : {}
      30             : 
      31           0 : bool ScCorrelationDialog::Close()
      32             : {
      33           0 :     return DoClose( ScCorrelationDialogWrapper::GetChildWindowId() );
      34             : }
      35             : 
      36           0 : const OUString ScCorrelationDialog::getLabel()
      37             : {
      38           0 :     return SC_STRLOAD(RID_STATISTICS_DLGS, STR_CORRELATION_LABEL);
      39             : }
      40             : 
      41           0 : const OUString ScCorrelationDialog::getTemplate()
      42             : {
      43           0 :     return strCorrelationTemplate;
      44         228 : }
      45             : 
      46             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10