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

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_LINGUISTIC2_SINGLEPROOFREADINGERROR_HPP
       2             : #define INCLUDED_COM_SUN_STAR_LINGUISTIC2_SINGLEPROOFREADINGERROR_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/linguistic2/SingleProofreadingError.hdl"
       7             : 
       8             : #include "com/sun/star/beans/PropertyValue.hpp"
       9             : #include "com/sun/star/uno/Sequence.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 linguistic2 {
      18             : 
      19           0 : inline SingleProofreadingError::SingleProofreadingError() SAL_THROW(())
      20             :     : nErrorStart(0)
      21             :     , nErrorLength(0)
      22             :     , nErrorType(0)
      23             :     , aRuleIdentifier()
      24             :     , aShortComment()
      25             :     , aFullComment()
      26             :     , aSuggestions()
      27           0 :     , aProperties()
      28             : {
      29           0 : }
      30             : 
      31             : inline SingleProofreadingError::SingleProofreadingError(const ::sal_Int32& nErrorStart_, const ::sal_Int32& nErrorLength_, const ::sal_Int32& nErrorType_, const ::rtl::OUString& aRuleIdentifier_, const ::rtl::OUString& aShortComment_, const ::rtl::OUString& aFullComment_, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aSuggestions_, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& aProperties_) SAL_THROW(())
      32             :     : nErrorStart(nErrorStart_)
      33             :     , nErrorLength(nErrorLength_)
      34             :     , nErrorType(nErrorType_)
      35             :     , aRuleIdentifier(aRuleIdentifier_)
      36             :     , aShortComment(aShortComment_)
      37             :     , aFullComment(aFullComment_)
      38             :     , aSuggestions(aSuggestions_)
      39             :     , aProperties(aProperties_)
      40             : {
      41             : }
      42             : 
      43             : } } } }
      44             : 
      45             : namespace com { namespace sun { namespace star { namespace linguistic2 {
      46             : 
      47           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::linguistic2::SingleProofreadingError const *) {
      48             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      49             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      50           0 :     if (the_type == 0) {
      51           0 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.linguistic2.SingleProofreadingError");
      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::linguistic2::SingleProofreadingError const *) SAL_THROW(()) {
      59             :     return ::cppu::UnoType< css::linguistic2::SingleProofreadingError >::get();
      60             : }
      61             : 
      62             : #endif // INCLUDED_COM_SUN_STAR_LINGUISTIC2_SINGLEPROOFREADINGERROR_HPP

Generated by: LCOV version 1.10