LCOV - code coverage report
Current view: top level - writerfilter/source/rtftok - rtfreferenceproperties.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 16 16 100.0 %
Date: 2014-11-03 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       58726 : RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes, RTFSprms aSprms)
      18             :     : m_aAttributes(aAttributes),
      19       58726 :       m_aSprms(aSprms)
      20             : {
      21       58726 : }
      22             : 
      23         220 : RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes)
      24             :     : m_aAttributes(aAttributes),
      25         220 :       m_aSprms()
      26             : {
      27         220 : }
      28             : 
      29      117892 : RTFReferenceProperties::~RTFReferenceProperties()
      30             : {
      31      117892 : }
      32             : 
      33       58636 : void RTFReferenceProperties::resolve(Properties& rHandler)
      34             : {
      35      111012 :     for (RTFSprms::Iterator_t i = m_aAttributes.begin(); i != m_aAttributes.end(); ++i)
      36       52376 :         rHandler.attribute(i->first, *i->second.get());
      37      130650 :     for (RTFSprms::Iterator_t i = m_aSprms.begin(); i != m_aSprms.end(); ++i)
      38             :     {
      39       72014 :         RTFSprm aSprm(i->first, i->second);
      40       72014 :         rHandler.sprm(aSprm);
      41       72014 :     }
      42       58636 : }
      43             : 
      44             : } // namespace rtftok
      45             : } // namespace writerfilter
      46             : 
      47             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10