LCOV - code coverage report
Current view: top level - svx/source/svdraw - svdobjuserdatalist.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 12 12 100.0 %
Date: 2015-06-13 12:38:46 Functions: 6 6 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 <svdobjuserdatalist.hxx>
      11             : 
      12        9449 : SdrObjUserDataList::SdrObjUserDataList() {}
      13        9268 : SdrObjUserDataList::~SdrObjUserDataList() {}
      14             : 
      15       88727 : size_t SdrObjUserDataList::GetUserDataCount() const
      16             : {
      17       88727 :     return maList.size();
      18             : }
      19             : 
      20       89246 : SdrObjUserData* SdrObjUserDataList::GetUserData(size_t nNum)
      21             : {
      22       89246 :     return &maList.at(nNum);
      23             : }
      24             : 
      25        9711 : void SdrObjUserDataList::AppendUserData(SdrObjUserData* pData)
      26             : {
      27        9711 :     maList.push_back(pData);
      28        9711 : }
      29             : 
      30           6 : void SdrObjUserDataList::DeleteUserData(size_t nNum)
      31             : {
      32           6 :     maList.erase(maList.begin()+nNum);
      33           6 : }
      34             : 
      35             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11