LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/document - FilterOptionsRequest.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 11 36.4 %
Date: 2012-12-27 Functions: 2 4 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_DOCUMENT_FILTEROPTIONSREQUEST_HPP
       2             : #define INCLUDED_COM_SUN_STAR_DOCUMENT_FILTEROPTIONSREQUEST_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/document/FilterOptionsRequest.hdl"
       7             : 
       8             : #include "com/sun/star/beans/PropertyValue.hpp"
       9             : #include "com/sun/star/uno/Exception.hpp"
      10             : #include "com/sun/star/frame/XModel.hpp"
      11             : #include "com/sun/star/uno/Reference.hxx"
      12             : #include "com/sun/star/uno/Sequence.hxx"
      13             : #include "com/sun/star/uno/Type.hxx"
      14             : #include "cppu/unotype.hxx"
      15             : #include "osl/mutex.hxx"
      16             : #include "rtl/instance.hxx"
      17             : 
      18             : namespace com { namespace sun { namespace star { namespace document {
      19             : 
      20          16 : inline FilterOptionsRequest::FilterOptionsRequest() SAL_THROW(())
      21             :     : css::uno::Exception()
      22             :     , rModel()
      23          16 :     , rProperties()
      24          16 : { }
      25             : 
      26           0 : inline FilterOptionsRequest::FilterOptionsRequest(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const ::com::sun::star::uno::Reference< css::frame::XModel >& rModel_, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& rProperties_) SAL_THROW(())
      27             :     : css::uno::Exception(Message_, Context_)
      28             :     , rModel(rModel_)
      29           0 :     , rProperties(rProperties_)
      30           0 : { }
      31             : 
      32             : FilterOptionsRequest::FilterOptionsRequest(FilterOptionsRequest const & the_other): css::uno::Exception(the_other), rModel(the_other.rModel), rProperties(the_other.rProperties) {}
      33             : 
      34          16 : FilterOptionsRequest::~FilterOptionsRequest() {}
      35             : 
      36             : FilterOptionsRequest & FilterOptionsRequest::operator =(FilterOptionsRequest const & the_other) {
      37             :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      38             :     css::uno::Exception::operator =(the_other);
      39             :     rModel = the_other.rModel;
      40             :     rProperties = the_other.rProperties;
      41             :     return *this;
      42             : }
      43             : 
      44             : } } } }
      45             : 
      46             : namespace com { namespace sun { namespace star { namespace document {
      47             : 
      48           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::document::FilterOptionsRequest 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.document.FilterOptionsRequest" );
      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::document::FilterOptionsRequest const *) SAL_THROW(()) {
      60             :     return ::cppu::UnoType< css::document::FilterOptionsRequest >::get();
      61             : }
      62             : 
      63             : #endif // INCLUDED_COM_SUN_STAR_DOCUMENT_FILTEROPTIONSREQUEST_HPP

Generated by: LCOV version 1.10