LCOV - code coverage report
Current view: top level - writerfilter/source/rtftok - rtfreferenceproperties.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 22 0.0 %
Date: 2014-04-14 Functions: 0 8 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 <rtfreferenceproperties.hxx>
      11             : 
      12             : namespace writerfilter {
      13             : namespace rtftok {
      14             : 
      15           0 : RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes, RTFSprms aSprms)
      16             :     : m_aAttributes(aAttributes),
      17           0 :     m_aSprms(aSprms)
      18             : {
      19           0 : }
      20             : 
      21           0 : RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes)
      22             :     : m_aAttributes(aAttributes),
      23           0 :     m_aSprms()
      24             : {
      25           0 : }
      26             : 
      27           0 : RTFReferenceProperties::~RTFReferenceProperties()
      28             : {
      29           0 : }
      30             : 
      31           0 : void RTFReferenceProperties::resolve(Properties& rHandler)
      32             : {
      33           0 :     for (RTFSprms::Iterator_t i = m_aAttributes.begin(); i != m_aAttributes.end(); ++i)
      34           0 :         rHandler.attribute(i->first, *i->second.get());
      35           0 :     for (RTFSprms::Iterator_t i = m_aSprms.begin(); i != m_aSprms.end(); ++i)
      36             :     {
      37           0 :         RTFSprm aSprm(i->first, i->second);
      38           0 :         rHandler.sprm(aSprm);
      39           0 :     }
      40           0 : }
      41             : 
      42           0 : std::string RTFReferenceProperties::getType() const
      43             : {
      44           0 :     return "RTFReferenceProperties";
      45             : }
      46             : 
      47           0 : RTFSprms& RTFReferenceProperties::getAttributes()
      48             : {
      49           0 :     return m_aAttributes;
      50             : }
      51             : 
      52           0 : RTFSprms& RTFReferenceProperties::getSprms()
      53             : {
      54           0 :     return m_aSprms;
      55             : }
      56             : 
      57             : } // namespace rtftok
      58             : } // namespace writerfilter
      59             : 
      60             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10