LCOV - code coverage report
Current view: top level - writerfilter/source/rtftok - rtfreferencetable.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 9 11 81.8 %
Date: 2014-04-11 Functions: 4 5 80.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 <rtfreferencetable.hxx>
      11             : 
      12             : namespace writerfilter {
      13             : namespace rtftok {
      14             : 
      15         502 : RTFReferenceTable::RTFReferenceTable(Entries_t const& rEntries)
      16         502 :     : m_aEntries(rEntries)
      17             : {
      18         502 : }
      19             : 
      20        1004 : RTFReferenceTable::~RTFReferenceTable()
      21             : {
      22        1004 : }
      23             : 
      24         502 : void RTFReferenceTable::resolve(Table& rHandler)
      25             : {
      26        2160 :     for (Entries_t::const_iterator i = m_aEntries.begin(); i != m_aEntries.end(); ++i)
      27        1658 :         rHandler.entry(i->first, i->second);
      28         502 : }
      29             : 
      30           0 : std::string RTFReferenceTable::getType() const
      31             : {
      32           0 :     return "RTFReferenceTable";
      33             : }
      34             : 
      35             : } // namespace rtftok
      36             : } // namespace writerfilter
      37             : 
      38             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10