LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/udkapi/com/sun/star/beans - PropertyChangeEvent.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 7 10 70.0 %
Date: 2012-12-27 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HPP
       2             : #define INCLUDED_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/beans/PropertyChangeEvent.hdl"
       7             : 
       8             : #include "com/sun/star/lang/EventObject.hpp"
       9             : #include "com/sun/star/uno/Any.hxx"
      10             : #include "com/sun/star/uno/Type.hxx"
      11             : #include "cppu/unotype.hxx"
      12             : #include "rtl/ustring.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 beans {
      18             : 
      19        4376 : inline PropertyChangeEvent::PropertyChangeEvent() SAL_THROW(())
      20             :     : css::lang::EventObject()
      21             :     , PropertyName()
      22             :     , Further(false)
      23             :     , PropertyHandle(0)
      24             :     , OldValue()
      25        4376 :     , NewValue()
      26             : {
      27        4376 : }
      28             : 
      29           0 : inline PropertyChangeEvent::PropertyChangeEvent(const ::com::sun::star::uno::Reference< css::uno::XInterface >& Source_, const ::rtl::OUString& PropertyName_, const ::sal_Bool& Further_, const ::sal_Int32& PropertyHandle_, const ::com::sun::star::uno::Any& OldValue_, const ::com::sun::star::uno::Any& NewValue_) SAL_THROW(())
      30             :     : css::lang::EventObject(Source_)
      31             :     , PropertyName(PropertyName_)
      32             :     , Further(Further_)
      33             :     , PropertyHandle(PropertyHandle_)
      34             :     , OldValue(OldValue_)
      35           0 :     , NewValue(NewValue_)
      36             : {
      37           0 : }
      38             : 
      39             : } } } }
      40             : 
      41             : namespace com { namespace sun { namespace star { namespace beans {
      42             : 
      43           6 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::beans::PropertyChangeEvent const *) {
      44             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      45             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      46           6 :     if (the_type == 0) {
      47           6 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.beans.PropertyChangeEvent");
      48             :     }
      49           6 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      50             : }
      51             : 
      52             : } } } }
      53             : 
      54             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::beans::PropertyChangeEvent const *) SAL_THROW(()) {
      55             :     return ::cppu::UnoType< css::beans::PropertyChangeEvent >::get();
      56             : }
      57             : 
      58             : #endif // INCLUDED_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HPP

Generated by: LCOV version 1.10