LCOV - code coverage report
Current view: top level - vcl/source/app - salvtables.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 25 49 51.0 %
Date: 2012-08-25 Functions: 12 36 33.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 8 24 33.3 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : 
      30                 :            : #include <salframe.hxx>
      31                 :            : #include <salinst.hxx>
      32                 :            : #include <salvd.hxx>
      33                 :            : #include <salprn.hxx>
      34                 :            : #include <saltimer.hxx>
      35                 :            : #include <salimestatus.hxx>
      36                 :            : #include <salsys.hxx>
      37                 :            : #include <salbmp.hxx>
      38                 :            : #include <salobj.hxx>
      39                 :            : #include <salmenu.hxx>
      40                 :            : 
      41                 :            : // this file contains the virtual destructors of the sal interface
      42                 :            : // compilers ususally put their vtables where the destructor is
      43                 :            : 
      44                 :       5802 : SalFrame::~SalFrame()
      45                 :            : {
      46         [ -  + ]:       5802 : }
      47                 :            : 
      48                 :            : // -----------------------------------------------------------------------
      49                 :            : 
      50                 :            : // default to full-frame flushes
      51                 :            : // on ports where partial-flushes are much cheaper this method should be overridden
      52                 :      27209 : void SalFrame::Flush( const Rectangle& )
      53                 :            : {
      54                 :      27209 :     Flush();
      55                 :      27209 : }
      56                 :            : 
      57                 :            : // -----------------------------------------------------------------------
      58                 :            : 
      59                 :        687 : void SalFrame::SetRepresentedURL( const rtl::OUString& )
      60                 :            : {
      61                 :            :     // currently this is Mac only functionality
      62                 :        687 : }
      63                 :            : 
      64                 :            : // -----------------------------------------------------------------------
      65                 :            : 
      66                 :        158 : SalInstance::~SalInstance()
      67                 :            : {
      68         [ -  + ]:        158 : }
      69                 :            : 
      70                 :          0 : void SalInstance::FillFontPathList( std::list< rtl::OString >& )
      71                 :            : {
      72                 :            :     // do nothing
      73                 :          0 : }
      74                 :            : 
      75                 :      68211 : SalMenu* SalInstance::CreateMenu( sal_Bool, Menu* )
      76                 :            : {
      77                 :            :     // default: no native menus
      78                 :      68211 :     return NULL;
      79                 :            : }
      80                 :            : 
      81                 :          0 : void SalInstance::DestroyMenu( SalMenu* pMenu )
      82                 :            : {
      83                 :            :     (void)pMenu;
      84                 :            :     OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" );
      85                 :          0 : }
      86                 :            : 
      87                 :     415375 : SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* )
      88                 :            : {
      89                 :     415375 :     return NULL;
      90                 :            : }
      91                 :            : 
      92                 :          0 : void SalInstance::DestroyMenuItem( SalMenuItem* pItem )
      93                 :            : {
      94                 :            :     (void)pItem;
      95                 :            :     OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" );
      96                 :          0 : }
      97                 :            : 
      98                 :        158 : SalTimer::~SalTimer()
      99                 :            : {
     100         [ -  + ]:        158 : }
     101                 :            : 
     102                 :     884295 : SalBitmap::~SalBitmap()
     103                 :            : {
     104         [ -  + ]:     884295 : }
     105                 :            : 
     106                 :        158 : SalI18NImeStatus::~SalI18NImeStatus()
     107                 :            : {
     108         [ -  + ]:        158 : }
     109                 :            : 
     110                 :         58 : SalSystem::~SalSystem()
     111                 :            : {
     112         [ -  + ]:         58 : }
     113                 :            : 
     114                 :          0 : SalPrinter::~SalPrinter()
     115                 :            : {
     116         [ #  # ]:          0 : }
     117                 :            : 
     118                 :          0 : sal_Bool SalPrinter::StartJob( const rtl::OUString*, const rtl::OUString&, const rtl::OUString&,
     119                 :            :                            ImplJobSetup*, vcl::PrinterController& )
     120                 :            : {
     121                 :          0 :     return sal_False;
     122                 :            : }
     123                 :            : 
     124                 :        107 : SalInfoPrinter::~SalInfoPrinter()
     125                 :            : {
     126         [ -  + ]:        107 : }
     127                 :            : 
     128                 :      94195 : SalVirtualDevice::~SalVirtualDevice()
     129                 :            : {
     130         [ -  + ]:      94195 : }
     131                 :            : 
     132                 :          0 : SalObject::~SalObject()
     133                 :            : {
     134         [ #  # ]:          0 : }
     135                 :            : 
     136                 :          0 : SalMenu::~SalMenu()
     137                 :            : {
     138         [ #  # ]:          0 : }
     139                 :            : 
     140                 :          0 : bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, sal_uLong )
     141                 :            : {
     142                 :          0 :     return false;
     143                 :            : }
     144                 :            : 
     145                 :          0 : bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& )
     146                 :            : {
     147                 :          0 :     return false;
     148                 :            : }
     149                 :            : 
     150                 :          0 : void SalMenu::RemoveMenuBarButton( sal_uInt16 )
     151                 :            : {
     152                 :          0 : }
     153                 :            : 
     154                 :          0 : Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* )
     155                 :            : {
     156                 :          0 :     return Rectangle();
     157                 :            : }
     158                 :            : 
     159                 :          0 : SalMenuItem::~SalMenuItem()
     160                 :            : {
     161         [ #  # ]:          0 : }
     162                 :            : 
     163                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10