LCOV - code coverage report
Current view: top level - chart2/source/controller/dialogs - dlg_ChartType.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 1 11 9.1 %
Date: 2014-11-03 Functions: 2 5 40.0 %
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             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #include "dlg_ChartType.hxx"
      21             : #include "ResId.hxx"
      22             : #include "ResourceIds.hrc"
      23             : #include "Strings.hrc"
      24             : #include "tp_ChartType.hxx"
      25             : #include "macros.hxx"
      26             : #include <com/sun/star/chart2/XChartDocument.hpp>
      27             : #include <vcl/layout.hxx>
      28             : 
      29             : using namespace ::com::sun::star;
      30             : 
      31             : namespace chart
      32             : {
      33             : using namespace ::com::sun::star;
      34             : using namespace ::com::sun::star::chart2;
      35             : 
      36           0 : ChartTypeDialog::ChartTypeDialog( vcl::Window* pParent
      37             :                 , const uno::Reference< frame::XModel >& xChartModel
      38             :                 , const uno::Reference< uno::XComponentContext >& xContext )
      39             :     : ModalDialog( pParent, "ChartTypeDialog",
      40             :             "modules/schart/ui/charttypedialog.ui")
      41             :     , m_pChartTypeTabPage(0)
      42             :     , m_xChartModel(xChartModel)
      43           0 :     , m_xCC( xContext )
      44             : {
      45             :     m_pChartTypeTabPage = new ChartTypeTabPage(
      46           0 :         get_content_area(),
      47             :         uno::Reference<XChartDocument>::query(m_xChartModel),
      48             :         m_xCC,
      49             :         true/*live update*/,
      50           0 :         false/*don't show title description*/);
      51             : 
      52           0 :     m_pChartTypeTabPage->initializePage();
      53           0 :     m_pChartTypeTabPage->Show();
      54           0 :  }
      55             : 
      56           0 : ChartTypeDialog::~ChartTypeDialog()
      57             : {
      58           0 :     delete m_pChartTypeTabPage;
      59           0 : }
      60             : 
      61         102 : } //namespace chart
      62             : 
      63             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10