LCOV - code coverage report
Current view: top level - sc/source/filter/chart - chart_imp.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 8 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 2 0.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             : 
      10             : #include <sfx2/docfile.hxx>
      11             : #include "xmlwrap.hxx"
      12             : 
      13             : #include <comphelper/processfactory.hxx>
      14             : #include <com/sun/star/document/XStorageBasedDocument.hpp>
      15             : #include <com/sun/star/beans/PropertyValue.hpp>
      16             : 
      17             : using namespace com::sun::star;
      18             : 
      19           0 : ScXMLChartExportWrapper::ScXMLChartExportWrapper( com::sun::star::uno::Reference< com::sun::star::frame::XModel > xModel, SfxMedium& rMed ):
      20             :     mxModel(xModel),
      21           0 :     mrMedium(rMed)
      22             : {
      23             : 
      24           0 : }
      25             : 
      26           0 : bool ScXMLChartExportWrapper::Export()
      27             : {
      28           0 :     if ( !mxStorage.is() )
      29           0 :         mxStorage = mrMedium.GetOutputStorage();
      30             : 
      31           0 :     uno::Reference< document::XStorageBasedDocument>(mxModel, uno::UNO_QUERY_THROW)->storeToStorage(mxStorage, uno::Sequence< beans::PropertyValue >() );
      32           0 :     return true;
      33             : }
      34             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11