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

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_SDB_DOCUMENTSAVEREQUEST_HPP
       2             : #define INCLUDED_COM_SUN_STAR_SDB_DOCUMENTSAVEREQUEST_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/sdb/DocumentSaveRequest.hdl"
       7             : 
       8             : #include "com/sun/star/task/ClassifiedInteractionRequest.hpp"
       9             : #include "com/sun/star/ucb/XContent.hpp"
      10             : #include "com/sun/star/uno/Reference.hxx"
      11             : #include "com/sun/star/uno/Type.hxx"
      12             : #include "cppu/unotype.hxx"
      13             : #include "osl/mutex.hxx"
      14             : #include "rtl/ustring.hxx"
      15             : #include "rtl/instance.hxx"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace sdb {
      18             : 
      19           0 : inline DocumentSaveRequest::DocumentSaveRequest() SAL_THROW(())
      20             :     : css::task::ClassifiedInteractionRequest()
      21             :     , Content()
      22           0 :     , Name()
      23           0 : { }
      24             : 
      25             : inline DocumentSaveRequest::DocumentSaveRequest(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const css::task::InteractionClassification& Classification_, const ::com::sun::star::uno::Reference< css::ucb::XContent >& Content_, const ::rtl::OUString& Name_) SAL_THROW(())
      26             :     : css::task::ClassifiedInteractionRequest(Message_, Context_, Classification_)
      27             :     , Content(Content_)
      28             :     , Name(Name_)
      29             : { }
      30             : 
      31             : DocumentSaveRequest::DocumentSaveRequest(DocumentSaveRequest const & the_other): css::task::ClassifiedInteractionRequest(the_other), Content(the_other.Content), Name(the_other.Name) {}
      32             : 
      33           0 : DocumentSaveRequest::~DocumentSaveRequest() {}
      34             : 
      35             : DocumentSaveRequest & DocumentSaveRequest::operator =(DocumentSaveRequest const & the_other) {
      36             :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      37             :     css::task::ClassifiedInteractionRequest::operator =(the_other);
      38             :     Content = the_other.Content;
      39             :     Name = the_other.Name;
      40             :     return *this;
      41             : }
      42             : 
      43             : } } } }
      44             : 
      45             : namespace com { namespace sun { namespace star { namespace sdb {
      46             : 
      47           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::sdb::DocumentSaveRequest const *) {
      48             :     static typelib_TypeDescriptionReference * the_type = 0;
      49           0 :     if ( !the_type )
      50             :     {
      51           0 :         typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.sdb.DocumentSaveRequest" );
      52             :     }
      53           0 :     return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
      54             : }
      55             : 
      56             : } } } }
      57             : 
      58             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::sdb::DocumentSaveRequest const *) SAL_THROW(()) {
      59             :     return ::cppu::UnoType< css::sdb::DocumentSaveRequest >::get();
      60             : }
      61             : 
      62             : #endif // INCLUDED_COM_SUN_STAR_SDB_DOCUMENTSAVEREQUEST_HPP

Generated by: LCOV version 1.10