LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/offapi/com/sun/star/accessibility - AccessibleTableModelChange.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 7 10 70.0 %
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_ACCESSIBILITY_ACCESSIBLETABLEMODELCHANGE_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLETABLEMODELCHANGE_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/accessibility/AccessibleTableModelChange.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 accessibility {
      15                 :            : 
      16                 :         18 : inline AccessibleTableModelChange::AccessibleTableModelChange() SAL_THROW(())
      17                 :            :     : Type(0)
      18                 :            :     , FirstRow(0)
      19                 :            :     , LastRow(0)
      20                 :            :     , FirstColumn(0)
      21                 :         18 :     , LastColumn(0)
      22                 :            : {
      23                 :         18 : }
      24                 :            : 
      25                 :          0 : inline AccessibleTableModelChange::AccessibleTableModelChange(const ::sal_Int16& Type_, const ::sal_Int32& FirstRow_, const ::sal_Int32& LastRow_, const ::sal_Int32& FirstColumn_, const ::sal_Int32& LastColumn_) SAL_THROW(())
      26                 :            :     : Type(Type_)
      27                 :            :     , FirstRow(FirstRow_)
      28                 :            :     , LastRow(LastRow_)
      29                 :            :     , FirstColumn(FirstColumn_)
      30                 :          0 :     , LastColumn(LastColumn_)
      31                 :            : {
      32                 :          0 : }
      33                 :            : 
      34                 :            : } } } }
      35                 :            : 
      36                 :            : namespace com { namespace sun { namespace star { namespace accessibility {
      37                 :            : 
      38                 :         18 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::accessibility::AccessibleTableModelChange const *) {
      39                 :            :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      40                 :            :     static ::typelib_TypeDescriptionReference * the_type = 0;
      41         [ +  + ]:         18 :     if (the_type == 0) {
      42                 :          2 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.accessibility.AccessibleTableModelChange");
      43                 :            :     }
      44                 :         18 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      45                 :            : }
      46                 :            : 
      47                 :            : } } } }
      48                 :            : 
      49                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::accessibility::AccessibleTableModelChange const *) SAL_THROW(()) {
      50                 :            :     return ::cppu::UnoType< ::com::sun::star::accessibility::AccessibleTableModelChange >::get();
      51                 :            : }
      52                 :            : 
      53                 :            : #endif // INCLUDED_COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLETABLEMODELCHANGE_HPP

Generated by: LCOV version 1.10