LCOV - code coverage report
Current view: top level - writerfilter/source/rtftok - rtfreferenceproperties.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 16 16 100.0 %
Date: 2015-06-13 12:38:46 Functions: 5 5 100.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 <rtfreferenceproperties.hxx>
      11             : 
      12             : namespace writerfilter
      13             : {
      14             : namespace rtftok
      15             : {
      16             : 
      17       42999 : RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes, RTFSprms aSprms)
      18             :     : m_aAttributes(aAttributes),
      19       42999 :       m_aSprms(aSprms)
      20             : {
      21       42999 : }
      22             : 
      23         137 : RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes)
      24             :     : m_aAttributes(aAttributes),
      25         137 :       m_aSprms()
      26             : {
      27         137 : }
      28             : 
      29       48229 : RTFReferenceProperties::~RTFReferenceProperties()
      30             : {
      31       48229 : }
      32             : 
      33       42457 : void RTFReferenceProperties::resolve(Properties& rHandler)
      34             : {
      35       79376 :     for (RTFSprms::Iterator_t i = m_aAttributes.begin(); i != m_aAttributes.end(); ++i)
      36       36919 :         rHandler.attribute(i->first, *i->second.get());
      37       99376 :     for (RTFSprms::Iterator_t i = m_aSprms.begin(); i != m_aSprms.end(); ++i)
      38             :     {
      39       56919 :         RTFSprm aSprm(i->first, i->second);
      40       56919 :         rHandler.sprm(aSprm);
      41       56919 :     }
      42       42457 : }
      43             : 
      44             : } // namespace rtftok
      45             : } // namespace writerfilter
      46             : 
      47             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11