LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/rendering - Panose.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 3 0.0 %
Date: 2012-12-27 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_PANOSE_HPP
       2             : #define INCLUDED_COM_SUN_STAR_RENDERING_PANOSE_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/rendering/Panose.hdl"
       7             : 
       8             : #include "com/sun/star/uno/Type.hxx"
       9             : #include "cppu/unotype.hxx"
      10             : #include "sal/types.h"
      11             : #include "typelib/typeclass.h"
      12             : #include "typelib/typedescription.h"
      13             : 
      14             : namespace com { namespace sun { namespace star { namespace rendering {
      15             : 
      16           0 : inline Panose::Panose() SAL_THROW(())
      17             :     : FamilyType(0)
      18             :     , SerifStyle(0)
      19             :     , Weight(0)
      20             :     , Proportion(0)
      21             :     , Contrast(0)
      22             :     , StrokeVariation(0)
      23             :     , ArmStyle(0)
      24             :     , Letterform(0)
      25             :     , Midline(0)
      26           0 :     , XHeight(0)
      27             : {
      28           0 : }
      29             : 
      30             : inline Panose::Panose(const ::sal_Int8& FamilyType_, const ::sal_Int8& SerifStyle_, const ::sal_Int8& Weight_, const ::sal_Int8& Proportion_, const ::sal_Int8& Contrast_, const ::sal_Int8& StrokeVariation_, const ::sal_Int8& ArmStyle_, const ::sal_Int8& Letterform_, const ::sal_Int8& Midline_, const ::sal_Int8& XHeight_) SAL_THROW(())
      31             :     : FamilyType(FamilyType_)
      32             :     , SerifStyle(SerifStyle_)
      33             :     , Weight(Weight_)
      34             :     , Proportion(Proportion_)
      35             :     , Contrast(Contrast_)
      36             :     , StrokeVariation(StrokeVariation_)
      37             :     , ArmStyle(ArmStyle_)
      38             :     , Letterform(Letterform_)
      39             :     , Midline(Midline_)
      40             :     , XHeight(XHeight_)
      41             : {
      42             : }
      43             : 
      44             : } } } }
      45             : 
      46             : namespace com { namespace sun { namespace star { namespace rendering {
      47             : 
      48             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::Panose const *) {
      49             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      50             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      51             :     if (the_type == 0) {
      52             :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.rendering.Panose");
      53             :     }
      54             :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      55             : }
      56             : 
      57             : } } } }
      58             : 
      59             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::rendering::Panose const *) SAL_THROW(()) {
      60             :     return ::cppu::UnoType< css::rendering::Panose >::get();
      61             : }
      62             : 
      63             : #endif // INCLUDED_COM_SUN_STAR_RENDERING_PANOSE_HPP

Generated by: LCOV version 1.10