LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/sd/source/ui/sidebar - SlideTransitionPanel.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 11 9.1 %
Date: 2013-07-09 Functions: 2 7 28.6 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * This file is part of the LibreOffice project.
       3             :  *
       4             :  * This Source Code Form is subject to the terms of the Mozilla Public
       5             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       6             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       7             :  *
       8             :  * This file incorporates work covered by the following license notice:
       9             :  *
      10             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      11             :  *   contributor license agreements. See the NOTICE file distributed
      12             :  *   with this work for additional information regarding copyright
      13             :  *   ownership. The ASF licenses this file to you under the Apache
      14             :  *   License, Version 2.0 (the "License"); you may not use this file
      15             :  *   except in compliance with the License. You may obtain a copy of
      16             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      17             :  */
      18             : 
      19             : #include "SlideTransitionPanel.hxx"
      20             : 
      21             : #include "ViewShellBase.hxx"
      22             : 
      23             : 
      24             : namespace sd {
      25             :     extern ::Window* createSlideTransitionPanel (::Window* pParent, ViewShellBase& rBase);
      26             :     extern sal_Int32 getSlideTransitionPanelMinimumHeight (::Window* pParent);
      27             : }
      28             : 
      29             : 
      30             : 
      31             : 
      32             : namespace sd { namespace sidebar {
      33             : 
      34             : 
      35           0 : SlideTransitionPanel::SlideTransitionPanel (
      36             :     ::Window* pParentWindow,
      37             :     ViewShellBase& rViewShellBase)
      38           0 :     : PanelBase(pParentWindow, rViewShellBase)
      39             : {
      40             : #ifdef DEBUG
      41             :     SetText(OUString("sd:SlideTransitionPanel"));
      42             : #endif
      43           0 : }
      44             : 
      45             : 
      46             : 
      47             : 
      48           0 : SlideTransitionPanel::~SlideTransitionPanel (void)
      49             : {
      50           0 : }
      51             : 
      52             : 
      53             : 
      54             : 
      55           0 : ::Window* SlideTransitionPanel::CreateWrappedControl (
      56             :     ::Window* pParentWindow,
      57             :     ViewShellBase& rViewShellBase)
      58             : {
      59           0 :     return createSlideTransitionPanel(pParentWindow, rViewShellBase);
      60             : }
      61             : 
      62             : 
      63             : 
      64             : 
      65           0 : css::ui::LayoutSize SlideTransitionPanel::GetHeightForWidth (const sal_Int32 /*nWidth*/)
      66             : {
      67           0 :     const sal_Int32 nMinimumHeight(getSlideTransitionPanelMinimumHeight(mpWrappedControl.get()));
      68           0 :     return css::ui::LayoutSize(nMinimumHeight,-1, nMinimumHeight);
      69             : }
      70             : 
      71          33 : } } // end of namespace sd::sidebar

Generated by: LCOV version 1.10