LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/offapi/com/sun/star/drawing - GluePoint2.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 7 9 77.8 %
Date: 2012-08-25 Functions: 2 3 66.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 2 2 100.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_DRAWING_GLUEPOINT2_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_DRAWING_GLUEPOINT2_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/drawing/GluePoint2.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/awt/Point.hpp"
       9                 :            : #include "com/sun/star/drawing/EscapeDirection.hpp"
      10                 :            : #include "com/sun/star/drawing/Alignment.hpp"
      11                 :            : #include "com/sun/star/uno/Type.hxx"
      12                 :            : #include "cppu/unotype.hxx"
      13                 :            : #include "sal/types.h"
      14                 :            : #include "typelib/typeclass.h"
      15                 :            : #include "typelib/typedescription.h"
      16                 :            : 
      17                 :            : namespace com { namespace sun { namespace star { namespace drawing {
      18                 :            : 
      19                 :        340 : inline GluePoint2::GluePoint2() SAL_THROW(())
      20                 :            :     : Position()
      21                 :            :     , IsRelative(false)
      22                 :            :     , PositionAlignment(::com::sun::star::drawing::Alignment_TOP_LEFT)
      23                 :            :     , Escape(::com::sun::star::drawing::EscapeDirection_SMART)
      24                 :        340 :     , IsUserDefined(false)
      25                 :            : {
      26                 :        340 : }
      27                 :            : 
      28                 :            : inline GluePoint2::GluePoint2(const ::com::sun::star::awt::Point& Position_, const ::sal_Bool& IsRelative_, const ::com::sun::star::drawing::Alignment& PositionAlignment_, const ::com::sun::star::drawing::EscapeDirection& Escape_, const ::sal_Bool& IsUserDefined_) SAL_THROW(())
      29                 :            :     : Position(Position_)
      30                 :            :     , IsRelative(IsRelative_)
      31                 :            :     , PositionAlignment(PositionAlignment_)
      32                 :            :     , Escape(Escape_)
      33                 :            :     , IsUserDefined(IsUserDefined_)
      34                 :            : {
      35                 :            : }
      36                 :            : 
      37                 :            : } } } }
      38                 :            : 
      39                 :            : namespace com { namespace sun { namespace star { namespace drawing {
      40                 :            : 
      41                 :        544 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::drawing::GluePoint2 const *) {
      42                 :            :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      43                 :            :     static ::typelib_TypeDescriptionReference * the_type = 0;
      44         [ +  + ]:        544 :     if (the_type == 0) {
      45                 :          4 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.drawing.GluePoint2");
      46                 :            :     }
      47                 :        544 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      48                 :            : }
      49                 :            : 
      50                 :            : } } } }
      51                 :            : 
      52                 :          0 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::drawing::GluePoint2 const *) SAL_THROW(()) {
      53                 :          0 :     return ::cppu::UnoType< ::com::sun::star::drawing::GluePoint2 >::get();
      54                 :            : }
      55                 :            : 
      56                 :            : #endif // INCLUDED_COM_SUN_STAR_DRAWING_GLUEPOINT2_HPP

Generated by: LCOV version 1.10