LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/vcl/source/app - salvtables.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 26 49 53.1 %
Date: 2013-07-09 Functions: 14 38 36.8 %
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             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : 
      21             : #include <salframe.hxx>
      22             : #include <salinst.hxx>
      23             : #include <salvd.hxx>
      24             : #include <salprn.hxx>
      25             : #include <saltimer.hxx>
      26             : #include <salimestatus.hxx>
      27             : #include <salsys.hxx>
      28             : #include <salbmp.hxx>
      29             : #include <salobj.hxx>
      30             : #include <salmenu.hxx>
      31             : 
      32             : // this file contains the virtual destructors of the sal interface
      33             : // compilers ususally put their vtables where the destructor is
      34             : 
      35        3449 : SalFrame::~SalFrame()
      36             : {
      37        3449 : }
      38             : 
      39             : // -----------------------------------------------------------------------
      40             : 
      41             : // default to full-frame flushes
      42             : // on ports where partial-flushes are much cheaper this method should be overridden
      43       21285 : void SalFrame::Flush( const Rectangle& )
      44             : {
      45       21285 :     Flush();
      46       21285 : }
      47             : 
      48             : // -----------------------------------------------------------------------
      49             : 
      50         468 : void SalFrame::SetRepresentedURL( const OUString& )
      51             : {
      52             :     // currently this is Mac only functionality
      53         468 : }
      54             : 
      55             : // -----------------------------------------------------------------------
      56             : 
      57          94 : SalInstance::~SalInstance()
      58             : {
      59          94 : }
      60             : 
      61           0 : void SalInstance::FillFontPathList( std::list< OString >& )
      62             : {
      63             :     // do nothing
      64           0 : }
      65             : 
      66       37563 : SalMenu* SalInstance::CreateMenu( sal_Bool, Menu* )
      67             : {
      68             :     // default: no native menus
      69       37563 :     return NULL;
      70             : }
      71             : 
      72           0 : void SalInstance::DestroyMenu( SalMenu* pMenu )
      73             : {
      74             :     (void)pMenu;
      75             :     OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" );
      76           0 : }
      77             : 
      78      239645 : SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* )
      79             : {
      80      239645 :     return NULL;
      81             : }
      82             : 
      83           0 : void SalInstance::DestroyMenuItem( SalMenuItem* pItem )
      84             : {
      85             :     (void)pItem;
      86             :     OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" );
      87           0 : }
      88             : 
      89          94 : SalTimer::~SalTimer()
      90             : {
      91          94 : }
      92             : 
      93      433648 : SalBitmap::~SalBitmap()
      94             : {
      95      433648 : }
      96             : 
      97          94 : SalI18NImeStatus::~SalI18NImeStatus()
      98             : {
      99          94 : }
     100             : 
     101          29 : SalSystem::~SalSystem()
     102             : {
     103          29 : }
     104             : 
     105           0 : SalPrinter::~SalPrinter()
     106             : {
     107           0 : }
     108             : 
     109           0 : sal_Bool SalPrinter::StartJob( const OUString*, const OUString&, const OUString&,
     110             :                            ImplJobSetup*, vcl::PrinterController& )
     111             : {
     112           0 :     return sal_False;
     113             : }
     114             : 
     115          76 : SalInfoPrinter::~SalInfoPrinter()
     116             : {
     117          76 : }
     118             : 
     119       67030 : SalVirtualDevice::~SalVirtualDevice()
     120             : {
     121       67030 : }
     122             : 
     123           0 : SalObject::~SalObject()
     124             : {
     125           0 : }
     126             : 
     127           0 : SalMenu::~SalMenu()
     128             : {
     129           0 : }
     130             : 
     131           0 : bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, sal_uLong )
     132             : {
     133           0 :     return false;
     134             : }
     135             : 
     136           0 : bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& )
     137             : {
     138           0 :     return false;
     139             : }
     140             : 
     141           0 : void SalMenu::RemoveMenuBarButton( sal_uInt16 )
     142             : {
     143           0 : }
     144             : 
     145           0 : Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* )
     146             : {
     147           0 :     return Rectangle();
     148             : }
     149             : 
     150           0 : SalMenuItem::~SalMenuItem()
     151             : {
     152         465 : }
     153             : 
     154             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10