LCOV - code coverage report
Current view: top level - vcl/source/app - salvtables.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 36 54 66.7 %
Date: 2015-06-13 12:38:46 Functions: 17 38 44.7 %
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             : #include <salframe.hxx>
      21             : #include <salinst.hxx>
      22             : #include <salvd.hxx>
      23             : #include <salprn.hxx>
      24             : #include <saltimer.hxx>
      25             : #include <salimestatus.hxx>
      26             : #include <salsys.hxx>
      27             : #include <salbmp.hxx>
      28             : #include <salobj.hxx>
      29             : #include <salmenu.hxx>
      30             : 
      31             : 
      32        6941 : SalFrame::SalFrame() : m_pWindow( NULL ), m_pProc( NULL ) {}
      33             : 
      34             : // this file contains the virtual destructors of the sal interface
      35             : // compilers usually put their vtables where the destructor is
      36             : 
      37        6922 : SalFrame::~SalFrame()
      38             : {
      39        6922 : }
      40             : 
      41       13863 : void SalFrame::SetCallback( vcl::Window* pWindow, SALFRAMEPROC pProc )
      42             : {
      43       13863 :     m_pWindow = pWindow;
      44       13863 :     m_pProc = pProc;
      45       13863 : }
      46             : 
      47             : // default to full-frame flushes
      48             : // on ports where partial-flushes are much cheaper this method should be overridden
      49       73437 : void SalFrame::Flush( const Rectangle& )
      50             : {
      51       73437 :     Flush();
      52       73437 : }
      53             : 
      54        2486 : void SalFrame::SetRepresentedURL( const OUString& )
      55             : {
      56             :     // currently this is Mac only functionality
      57        2486 : }
      58             : 
      59         242 : SalInstance::~SalInstance()
      60             : {
      61         242 : }
      62             : 
      63           0 : void SalInstance::FillFontPathList( std::list< OString >& )
      64             : {
      65             :     // do nothing
      66           0 : }
      67             : 
      68       77945 : SalMenu* SalInstance::CreateMenu( bool, Menu* )
      69             : {
      70             :     // default: no native menus
      71       77945 :     return NULL;
      72             : }
      73             : 
      74           0 : void SalInstance::DestroyMenu( SalMenu* pMenu )
      75             : {
      76             :     (void)pMenu;
      77             :     OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" );
      78           0 : }
      79             : 
      80      293476 : SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* )
      81             : {
      82      293476 :     return NULL;
      83             : }
      84             : 
      85           0 : void SalInstance::DestroyMenuItem( SalMenuItem* pItem )
      86             : {
      87             :     (void)pItem;
      88             :     OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" );
      89           0 : }
      90             : 
      91         330 : SalTimer::~SalTimer()
      92             : {
      93         330 : }
      94             : 
      95      280604 : SalBitmap::~SalBitmap()
      96             : {
      97      280604 : }
      98             : 
      99         205 : SalI18NImeStatus::~SalI18NImeStatus()
     100             : {
     101         205 : }
     102             : 
     103          97 : SalSystem::~SalSystem()
     104             : {
     105          97 : }
     106             : 
     107           0 : SalPrinter::~SalPrinter()
     108             : {
     109           0 : }
     110             : 
     111           0 : bool SalPrinter::StartJob( const OUString*, const OUString&, const OUString&,
     112             :                            ImplJobSetup*, vcl::PrinterController& )
     113             : {
     114           0 :     return false;
     115             : }
     116             : 
     117         424 : SalInfoPrinter::~SalInfoPrinter()
     118             : {
     119         424 : }
     120             : 
     121      154265 : SalVirtualDevice::~SalVirtualDevice()
     122             : {
     123      154265 : }
     124             : 
     125          17 : SalObject::~SalObject()
     126             : {
     127          17 : }
     128             : 
     129          42 : SalMenu::~SalMenu()
     130             : {
     131          42 : }
     132             : 
     133           0 : bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, FloatWinPopupFlags )
     134             : {
     135           0 :     return false;
     136             : }
     137             : 
     138           0 : bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& )
     139             : {
     140           0 :     return false;
     141             : }
     142             : 
     143           0 : void SalMenu::RemoveMenuBarButton( sal_uInt16 )
     144             : {
     145           0 : }
     146             : 
     147           0 : Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* )
     148             : {
     149           0 :     return Rectangle();
     150             : }
     151             : 
     152         136 : SalMenuItem::~SalMenuItem()
     153             : {
     154         136 : }
     155             : 
     156             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11