LCOV - code coverage report
Current view: top level - deployment - LicenseException.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 11 0.0 %
Date: 2013-07-09 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_DEPLOYMENT_LICENSEEXCEPTION_HPP
       2             : #define INCLUDED_COM_SUN_STAR_DEPLOYMENT_LICENSEEXCEPTION_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/deployment/LicenseException.hdl"
       7             : 
       8             : #include "com/sun/star/uno/Exception.hpp"
       9             : #include "com/sun/star/uno/Type.hxx"
      10             : #include "cppu/unotype.hxx"
      11             : #include "osl/mutex.hxx"
      12             : #include "rtl/ustring.hxx"
      13             : #include "rtl/instance.hxx"
      14             : 
      15             : namespace com { namespace sun { namespace star { namespace deployment {
      16             : 
      17           0 : inline LicenseException::LicenseException() SAL_THROW(())
      18             :     : css::uno::Exception()
      19             :     , ExtensionName()
      20             :     , Text()
      21           0 :     , AcceptBy()
      22           0 : { }
      23             : 
      24           0 : inline LicenseException::LicenseException(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const ::rtl::OUString& ExtensionName_, const ::rtl::OUString& Text_, const ::rtl::OUString& AcceptBy_) SAL_THROW(())
      25             :     : css::uno::Exception(Message_, Context_)
      26             :     , ExtensionName(ExtensionName_)
      27             :     , Text(Text_)
      28           0 :     , AcceptBy(AcceptBy_)
      29           0 : { }
      30             : 
      31             : LicenseException::LicenseException(LicenseException const & the_other): css::uno::Exception(the_other), ExtensionName(the_other.ExtensionName), Text(the_other.Text), AcceptBy(the_other.AcceptBy) {}
      32             : 
      33           0 : LicenseException::~LicenseException() {}
      34             : 
      35             : LicenseException & LicenseException::operator =(LicenseException const & the_other) {
      36             :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      37             :     css::uno::Exception::operator =(the_other);
      38             :     ExtensionName = the_other.ExtensionName;
      39             :     Text = the_other.Text;
      40             :     AcceptBy = the_other.AcceptBy;
      41             :     return *this;
      42             : }
      43             : 
      44             : } } } }
      45             : 
      46             : namespace com { namespace sun { namespace star { namespace deployment {
      47             : 
      48           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::deployment::LicenseException const *) {
      49             :     static typelib_TypeDescriptionReference * the_type = 0;
      50           0 :     if ( !the_type )
      51             :     {
      52           0 :         typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.deployment.LicenseException" );
      53             :     }
      54           0 :     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::deployment::LicenseException const *) SAL_THROW(()) {
      60             :     return ::cppu::UnoType< css::deployment::LicenseException >::get();
      61             : }
      62             : 
      63             : #endif // INCLUDED_COM_SUN_STAR_DEPLOYMENT_LICENSEEXCEPTION_HPP

Generated by: LCOV version 1.10