LCOV - code coverage report
Current view: top level - vcl/source/outdev - outdevstatestack.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 10 12 83.3 %
Date: 2015-06-13 12:38:46 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 <outdevstatestack.hxx>
      11             : 
      12     1326362 : bool OutDevStateStack::empty() const
      13             : {
      14     1326362 :     return maData.empty();
      15             : }
      16             : 
      17           0 : size_t OutDevStateStack::size() const
      18             : {
      19           0 :     return maData.size();
      20             : }
      21             : 
      22      907009 : void OutDevStateStack::push_back( OutDevState* p )
      23             : {
      24      907009 :     maData.push_back(p);
      25      907009 : }
      26             : 
      27      907009 : void OutDevStateStack::pop_back()
      28             : {
      29      907009 :     maData.pop_back();
      30      907009 : }
      31             : 
      32      907009 : OutDevState& OutDevStateStack::back()
      33             : {
      34      907009 :     return maData.back();
      35             : }
      36             : 
      37             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11