LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/UnoApiHeadersTarget/bootstrap/bootstrap/com/sun/star/beans - XPropertySet.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 185 185 100.0 %
Date: 2012-08-25 Functions: 4 4 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 78 154 50.6 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_BEANS_XPROPERTYSET_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_BEANS_XPROPERTYSET_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/beans/XPropertySet.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/beans/XPropertyChangeListener.hpp"
       9                 :            : #include "com/sun/star/beans/XVetoableChangeListener.hpp"
      10                 :            : #include "com/sun/star/lang/WrappedTargetException.hpp"
      11                 :            : #include "com/sun/star/lang/IllegalArgumentException.hpp"
      12                 :            : #include "com/sun/star/beans/UnknownPropertyException.hpp"
      13                 :            : #include "com/sun/star/beans/PropertyVetoException.hpp"
      14                 :            : #include "com/sun/star/uno/RuntimeException.hpp"
      15                 :            : #include "com/sun/star/beans/XPropertySetInfo.hpp"
      16                 :            : #include "com/sun/star/uno/XInterface.hpp"
      17                 :            : #include "com/sun/star/uno/Any.hxx"
      18                 :            : #include "com/sun/star/uno/Reference.hxx"
      19                 :            : #include "com/sun/star/uno/Type.hxx"
      20                 :            : #include "cppu/unotype.hxx"
      21                 :            : #include "osl/mutex.hxx"
      22                 :            : #include "rtl/ustring.hxx"
      23                 :            : #include "rtl/instance.hxx"
      24                 :            : 
      25                 :            : namespace com { namespace sun { namespace star { namespace beans { namespace detail {
      26                 :            : 
      27                 :            : struct theXPropertySetType : public rtl::StaticWithInit< ::com::sun::star::uno::Type *, theXPropertySetType >
      28                 :            : {
      29                 :        742 :     ::com::sun::star::uno::Type * operator()() const
      30                 :            :     {
      31         [ +  - ]:        742 :         ::rtl::OUString sTypeName( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet") );
      32                 :            : 
      33                 :            :         // Start inline typedescription generation
      34                 :        742 :         typelib_InterfaceTypeDescription * pTD = 0;
      35                 :            : 
      36                 :            :         typelib_TypeDescriptionReference * aSuperTypes[1];
      37         [ +  - ]:        742 :         aSuperTypes[0] = ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > >::get().getTypeLibType();
      38                 :        742 :         typelib_TypeDescriptionReference * pMembers[7] = { 0,0,0,0,0,0,0 };
      39         [ +  - ]:        742 :         ::rtl::OUString sMethodName0( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::getPropertySetInfo") );
      40                 :            :         typelib_typedescriptionreference_new( &pMembers[0],
      41                 :            :                                               (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE_METHOD,
      42                 :        742 :                                               sMethodName0.pData );
      43         [ +  - ]:        742 :         ::rtl::OUString sMethodName1( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::setPropertyValue") );
      44                 :            :         typelib_typedescriptionreference_new( &pMembers[1],
      45                 :            :                                               (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE_METHOD,
      46                 :        742 :                                               sMethodName1.pData );
      47         [ +  - ]:        742 :         ::rtl::OUString sMethodName2( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::getPropertyValue") );
      48                 :            :         typelib_typedescriptionreference_new( &pMembers[2],
      49                 :            :                                               (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE_METHOD,
      50                 :        742 :                                               sMethodName2.pData );
      51         [ +  - ]:        742 :         ::rtl::OUString sMethodName3( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::addPropertyChangeListener") );
      52                 :            :         typelib_typedescriptionreference_new( &pMembers[3],
      53                 :            :                                               (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE_METHOD,
      54                 :        742 :                                               sMethodName3.pData );
      55         [ +  - ]:        742 :         ::rtl::OUString sMethodName4( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::removePropertyChangeListener") );
      56                 :            :         typelib_typedescriptionreference_new( &pMembers[4],
      57                 :            :                                               (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE_METHOD,
      58                 :        742 :                                               sMethodName4.pData );
      59         [ +  - ]:        742 :         ::rtl::OUString sMethodName5( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::addVetoableChangeListener") );
      60                 :            :         typelib_typedescriptionreference_new( &pMembers[5],
      61                 :            :                                               (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE_METHOD,
      62                 :        742 :                                               sMethodName5.pData );
      63         [ +  - ]:        742 :         ::rtl::OUString sMethodName6( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::removeVetoableChangeListener") );
      64                 :            :         typelib_typedescriptionreference_new( &pMembers[6],
      65                 :            :                                               (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE_METHOD,
      66                 :        742 :                                               sMethodName6.pData );
      67                 :            : 
      68                 :            :         typelib_typedescription_newMIInterface(
      69                 :            :             &pTD,
      70                 :            :             sTypeName.pData, 0x00000000, 0x0000, 0x0000, 0x00000000, 0x00000000,
      71                 :            :             1, aSuperTypes,
      72                 :            :             7,
      73                 :        742 :             pMembers );
      74                 :            : 
      75                 :        742 :         typelib_typedescription_register( (typelib_TypeDescription**)&pTD );
      76                 :        742 :         typelib_typedescriptionreference_release( pMembers[0] );
      77                 :        742 :         typelib_typedescriptionreference_release( pMembers[1] );
      78                 :        742 :         typelib_typedescriptionreference_release( pMembers[2] );
      79                 :        742 :         typelib_typedescriptionreference_release( pMembers[3] );
      80                 :        742 :         typelib_typedescriptionreference_release( pMembers[4] );
      81                 :        742 :         typelib_typedescriptionreference_release( pMembers[5] );
      82                 :        742 :         typelib_typedescriptionreference_release( pMembers[6] );
      83                 :        742 :         typelib_typedescription_release( (typelib_TypeDescription*)pTD );
      84                 :            : 
      85                 :        742 :         return new ::com::sun::star::uno::Type( ::com::sun::star::uno::TypeClass_INTERFACE, sTypeName ); // leaked
      86                 :            :     }
      87                 :            : };
      88                 :            : 
      89                 :            : } } } } }
      90                 :            : 
      91                 :            : namespace com { namespace sun { namespace star { namespace beans {
      92                 :            : 
      93                 :        750 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::beans::XPropertySet const *) {
      94                 :        750 :     const ::com::sun::star::uno::Type &rRet = *detail::theXPropertySetType::get();
      95                 :            :     // End inline typedescription generation
      96                 :            :     static bool bInitStarted = false;
      97         [ +  + ]:        750 :     if (!bInitStarted)
      98                 :            :     {
      99 [ +  - ][ +  - ]:        742 :         ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
     100         [ +  - ]:        742 :         if (!bInitStarted)
     101                 :            :         {
     102                 :            :             OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
     103                 :        742 :             bInitStarted = true;
     104         [ +  - ]:        742 :             ::cppu::UnoType< ::com::sun::star::uno::RuntimeException >::get();
     105         [ +  - ]:        742 :             ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > >::get();
     106                 :        742 :             ::cppu::UnoType< ::com::sun::star::beans::UnknownPropertyException >::get();
     107                 :        742 :             ::cppu::UnoType< ::com::sun::star::beans::PropertyVetoException >::get();
     108         [ +  - ]:        742 :             ::cppu::UnoType< ::com::sun::star::lang::IllegalArgumentException >::get();
     109         [ +  - ]:        742 :             ::cppu::UnoType< ::com::sun::star::lang::WrappedTargetException >::get();
     110         [ +  - ]:        742 :             ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener > >::get();
     111         [ +  - ]:        742 :             ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener > >::get();
     112                 :            : 
     113                 :        742 :             typelib_InterfaceMethodTypeDescription * pMethod = 0;
     114                 :            :             {
     115         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName0(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.RuntimeException"));
     116                 :        742 :                 rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData };
     117         [ +  - ]:        742 :                 ::rtl::OUString sReturnType0( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySetInfo") );
     118         [ +  - ]:        742 :                 ::rtl::OUString sMethodName0( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::getPropertySetInfo") );
     119                 :            :                 typelib_typedescription_newInterfaceMethod( &pMethod,
     120                 :            :                     3, sal_False,
     121                 :            :                     sMethodName0.pData,
     122                 :            :                     (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE, sReturnType0.pData,
     123                 :            :                     0, 0,
     124                 :        742 :                     1, the_Exceptions );
     125                 :        742 :                 typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
     126                 :            :             }
     127                 :            :             {
     128                 :            :                 typelib_Parameter_Init aParameters[2];
     129         [ +  - ]:        742 :                 ::rtl::OUString sParamName0( RTL_CONSTASCII_USTRINGPARAM("aPropertyName") );
     130         [ +  - ]:        742 :                 ::rtl::OUString sParamType0( RTL_CONSTASCII_USTRINGPARAM("string") );
     131                 :        742 :                 aParameters[0].pParamName = sParamName0.pData;
     132                 :        742 :                 aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
     133                 :        742 :                 aParameters[0].pTypeName = sParamType0.pData;
     134                 :        742 :                 aParameters[0].bIn = sal_True;
     135                 :        742 :                 aParameters[0].bOut = sal_False;
     136         [ +  - ]:        742 :                 ::rtl::OUString sParamName1( RTL_CONSTASCII_USTRINGPARAM("aValue") );
     137         [ +  - ]:        742 :                 ::rtl::OUString sParamType1( RTL_CONSTASCII_USTRINGPARAM("any") );
     138                 :        742 :                 aParameters[1].pParamName = sParamName1.pData;
     139                 :        742 :                 aParameters[1].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_ANY;
     140                 :        742 :                 aParameters[1].pTypeName = sParamType1.pData;
     141                 :        742 :                 aParameters[1].bIn = sal_True;
     142                 :        742 :                 aParameters[1].bOut = sal_False;
     143         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName0(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.UnknownPropertyException"));
     144         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName1(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.PropertyVetoException"));
     145         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName2(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.IllegalArgumentException"));
     146         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName3(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.WrappedTargetException"));
     147         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName4(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.RuntimeException"));
     148                 :        742 :                 rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData, the_ExceptionName3.pData, the_ExceptionName4.pData };
     149         [ +  - ]:        742 :                 ::rtl::OUString sReturnType1( RTL_CONSTASCII_USTRINGPARAM("void") );
     150         [ +  - ]:        742 :                 ::rtl::OUString sMethodName1( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::setPropertyValue") );
     151                 :            :                 typelib_typedescription_newInterfaceMethod( &pMethod,
     152                 :            :                     4, sal_False,
     153                 :            :                     sMethodName1.pData,
     154                 :            :                     (typelib_TypeClass)::com::sun::star::uno::TypeClass_VOID, sReturnType1.pData,
     155                 :            :                     2, aParameters,
     156                 :        742 :                     5, the_Exceptions );
     157                 :        742 :                 typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
     158                 :            :             }
     159                 :            :             {
     160                 :            :                 typelib_Parameter_Init aParameters[1];
     161         [ +  - ]:        742 :                 ::rtl::OUString sParamName0( RTL_CONSTASCII_USTRINGPARAM("PropertyName") );
     162         [ +  - ]:        742 :                 ::rtl::OUString sParamType0( RTL_CONSTASCII_USTRINGPARAM("string") );
     163                 :        742 :                 aParameters[0].pParamName = sParamName0.pData;
     164                 :        742 :                 aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
     165                 :        742 :                 aParameters[0].pTypeName = sParamType0.pData;
     166                 :        742 :                 aParameters[0].bIn = sal_True;
     167                 :        742 :                 aParameters[0].bOut = sal_False;
     168         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName0(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.UnknownPropertyException"));
     169         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName1(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.WrappedTargetException"));
     170         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName2(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.RuntimeException"));
     171                 :        742 :                 rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
     172         [ +  - ]:        742 :                 ::rtl::OUString sReturnType2( RTL_CONSTASCII_USTRINGPARAM("any") );
     173         [ +  - ]:        742 :                 ::rtl::OUString sMethodName2( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::getPropertyValue") );
     174                 :            :                 typelib_typedescription_newInterfaceMethod( &pMethod,
     175                 :            :                     5, sal_False,
     176                 :            :                     sMethodName2.pData,
     177                 :            :                     (typelib_TypeClass)::com::sun::star::uno::TypeClass_ANY, sReturnType2.pData,
     178                 :            :                     1, aParameters,
     179                 :        742 :                     3, the_Exceptions );
     180                 :        742 :                 typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
     181                 :            :             }
     182                 :            :             {
     183                 :            :                 typelib_Parameter_Init aParameters[2];
     184         [ +  - ]:        742 :                 ::rtl::OUString sParamName0( RTL_CONSTASCII_USTRINGPARAM("aPropertyName") );
     185         [ +  - ]:        742 :                 ::rtl::OUString sParamType0( RTL_CONSTASCII_USTRINGPARAM("string") );
     186                 :        742 :                 aParameters[0].pParamName = sParamName0.pData;
     187                 :        742 :                 aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
     188                 :        742 :                 aParameters[0].pTypeName = sParamType0.pData;
     189                 :        742 :                 aParameters[0].bIn = sal_True;
     190                 :        742 :                 aParameters[0].bOut = sal_False;
     191         [ +  - ]:        742 :                 ::rtl::OUString sParamName1( RTL_CONSTASCII_USTRINGPARAM("xListener") );
     192         [ +  - ]:        742 :                 ::rtl::OUString sParamType1( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertyChangeListener") );
     193                 :        742 :                 aParameters[1].pParamName = sParamName1.pData;
     194                 :        742 :                 aParameters[1].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE;
     195                 :        742 :                 aParameters[1].pTypeName = sParamType1.pData;
     196                 :        742 :                 aParameters[1].bIn = sal_True;
     197                 :        742 :                 aParameters[1].bOut = sal_False;
     198         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName0(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.UnknownPropertyException"));
     199         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName1(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.WrappedTargetException"));
     200         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName2(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.RuntimeException"));
     201                 :        742 :                 rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
     202         [ +  - ]:        742 :                 ::rtl::OUString sReturnType3( RTL_CONSTASCII_USTRINGPARAM("void") );
     203         [ +  - ]:        742 :                 ::rtl::OUString sMethodName3( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::addPropertyChangeListener") );
     204                 :            :                 typelib_typedescription_newInterfaceMethod( &pMethod,
     205                 :            :                     6, sal_False,
     206                 :            :                     sMethodName3.pData,
     207                 :            :                     (typelib_TypeClass)::com::sun::star::uno::TypeClass_VOID, sReturnType3.pData,
     208                 :            :                     2, aParameters,
     209                 :        742 :                     3, the_Exceptions );
     210                 :        742 :                 typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
     211                 :            :             }
     212                 :            :             {
     213                 :            :                 typelib_Parameter_Init aParameters[2];
     214         [ +  - ]:        742 :                 ::rtl::OUString sParamName0( RTL_CONSTASCII_USTRINGPARAM("aPropertyName") );
     215         [ +  - ]:        742 :                 ::rtl::OUString sParamType0( RTL_CONSTASCII_USTRINGPARAM("string") );
     216                 :        742 :                 aParameters[0].pParamName = sParamName0.pData;
     217                 :        742 :                 aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
     218                 :        742 :                 aParameters[0].pTypeName = sParamType0.pData;
     219                 :        742 :                 aParameters[0].bIn = sal_True;
     220                 :        742 :                 aParameters[0].bOut = sal_False;
     221         [ +  - ]:        742 :                 ::rtl::OUString sParamName1( RTL_CONSTASCII_USTRINGPARAM("aListener") );
     222         [ +  - ]:        742 :                 ::rtl::OUString sParamType1( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertyChangeListener") );
     223                 :        742 :                 aParameters[1].pParamName = sParamName1.pData;
     224                 :        742 :                 aParameters[1].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE;
     225                 :        742 :                 aParameters[1].pTypeName = sParamType1.pData;
     226                 :        742 :                 aParameters[1].bIn = sal_True;
     227                 :        742 :                 aParameters[1].bOut = sal_False;
     228         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName0(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.UnknownPropertyException"));
     229         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName1(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.WrappedTargetException"));
     230         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName2(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.RuntimeException"));
     231                 :        742 :                 rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
     232         [ +  - ]:        742 :                 ::rtl::OUString sReturnType4( RTL_CONSTASCII_USTRINGPARAM("void") );
     233         [ +  - ]:        742 :                 ::rtl::OUString sMethodName4( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::removePropertyChangeListener") );
     234                 :            :                 typelib_typedescription_newInterfaceMethod( &pMethod,
     235                 :            :                     7, sal_False,
     236                 :            :                     sMethodName4.pData,
     237                 :            :                     (typelib_TypeClass)::com::sun::star::uno::TypeClass_VOID, sReturnType4.pData,
     238                 :            :                     2, aParameters,
     239                 :        742 :                     3, the_Exceptions );
     240                 :        742 :                 typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
     241                 :            :             }
     242                 :            :             {
     243                 :            :                 typelib_Parameter_Init aParameters[2];
     244         [ +  - ]:        742 :                 ::rtl::OUString sParamName0( RTL_CONSTASCII_USTRINGPARAM("PropertyName") );
     245         [ +  - ]:        742 :                 ::rtl::OUString sParamType0( RTL_CONSTASCII_USTRINGPARAM("string") );
     246                 :        742 :                 aParameters[0].pParamName = sParamName0.pData;
     247                 :        742 :                 aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
     248                 :        742 :                 aParameters[0].pTypeName = sParamType0.pData;
     249                 :        742 :                 aParameters[0].bIn = sal_True;
     250                 :        742 :                 aParameters[0].bOut = sal_False;
     251         [ +  - ]:        742 :                 ::rtl::OUString sParamName1( RTL_CONSTASCII_USTRINGPARAM("aListener") );
     252         [ +  - ]:        742 :                 ::rtl::OUString sParamType1( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XVetoableChangeListener") );
     253                 :        742 :                 aParameters[1].pParamName = sParamName1.pData;
     254                 :        742 :                 aParameters[1].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE;
     255                 :        742 :                 aParameters[1].pTypeName = sParamType1.pData;
     256                 :        742 :                 aParameters[1].bIn = sal_True;
     257                 :        742 :                 aParameters[1].bOut = sal_False;
     258         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName0(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.UnknownPropertyException"));
     259         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName1(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.WrappedTargetException"));
     260         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName2(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.RuntimeException"));
     261                 :        742 :                 rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
     262         [ +  - ]:        742 :                 ::rtl::OUString sReturnType5( RTL_CONSTASCII_USTRINGPARAM("void") );
     263         [ +  - ]:        742 :                 ::rtl::OUString sMethodName5( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::addVetoableChangeListener") );
     264                 :            :                 typelib_typedescription_newInterfaceMethod( &pMethod,
     265                 :            :                     8, sal_False,
     266                 :            :                     sMethodName5.pData,
     267                 :            :                     (typelib_TypeClass)::com::sun::star::uno::TypeClass_VOID, sReturnType5.pData,
     268                 :            :                     2, aParameters,
     269                 :        742 :                     3, the_Exceptions );
     270                 :        742 :                 typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
     271                 :            :             }
     272                 :            :             {
     273                 :            :                 typelib_Parameter_Init aParameters[2];
     274         [ +  - ]:        742 :                 ::rtl::OUString sParamName0( RTL_CONSTASCII_USTRINGPARAM("PropertyName") );
     275         [ +  - ]:        742 :                 ::rtl::OUString sParamType0( RTL_CONSTASCII_USTRINGPARAM("string") );
     276                 :        742 :                 aParameters[0].pParamName = sParamName0.pData;
     277                 :        742 :                 aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
     278                 :        742 :                 aParameters[0].pTypeName = sParamType0.pData;
     279                 :        742 :                 aParameters[0].bIn = sal_True;
     280                 :        742 :                 aParameters[0].bOut = sal_False;
     281         [ +  - ]:        742 :                 ::rtl::OUString sParamName1( RTL_CONSTASCII_USTRINGPARAM("aListener") );
     282         [ +  - ]:        742 :                 ::rtl::OUString sParamType1( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XVetoableChangeListener") );
     283                 :        742 :                 aParameters[1].pParamName = sParamName1.pData;
     284                 :        742 :                 aParameters[1].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_INTERFACE;
     285                 :        742 :                 aParameters[1].pTypeName = sParamType1.pData;
     286                 :        742 :                 aParameters[1].bIn = sal_True;
     287                 :        742 :                 aParameters[1].bOut = sal_False;
     288         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName0(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.UnknownPropertyException"));
     289         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName1(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.WrappedTargetException"));
     290         [ +  - ]:        742 :                 ::rtl::OUString the_ExceptionName2(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.RuntimeException"));
     291                 :        742 :                 rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
     292         [ +  - ]:        742 :                 ::rtl::OUString sReturnType6( RTL_CONSTASCII_USTRINGPARAM("void") );
     293         [ +  - ]:        742 :                 ::rtl::OUString sMethodName6( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.XPropertySet::removeVetoableChangeListener") );
     294                 :            :                 typelib_typedescription_newInterfaceMethod( &pMethod,
     295                 :            :                     9, sal_False,
     296                 :            :                     sMethodName6.pData,
     297                 :            :                     (typelib_TypeClass)::com::sun::star::uno::TypeClass_VOID, sReturnType6.pData,
     298                 :            :                     2, aParameters,
     299                 :        742 :                     3, the_Exceptions );
     300                 :        742 :                 typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
     301                 :            :             }
     302                 :        742 :             typelib_typedescription_release( (typelib_TypeDescription*)pMethod );
     303         [ +  - ]:        742 :         }
     304                 :            :     }
     305                 :            :     else
     306                 :            :     {
     307                 :            :         OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
     308                 :            :     }
     309                 :        750 :     return rRet;
     310                 :            : }
     311                 :            : 
     312                 :            : } } } }
     313                 :            : 
     314                 :        750 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > const *) SAL_THROW(()) {
     315                 :        750 :     return ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > >::get();
     316                 :            : }
     317                 :            : 
     318                 :        750 : ::com::sun::star::uno::Type const & ::com::sun::star::beans::XPropertySet::static_type(SAL_UNUSED_PARAMETER void *) {
     319                 :        750 :     return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > * >(0));
     320                 :            : }
     321                 :            : 
     322                 :            : #endif // INCLUDED_COM_SUN_STAR_BEANS_XPROPERTYSET_HPP

Generated by: LCOV version 1.10