LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/linguistic2 - ProofreadingResult.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 7 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_LINGUISTIC2_PROOFREADINGRESULT_HPP
       2             : #define INCLUDED_COM_SUN_STAR_LINGUISTIC2_PROOFREADINGRESULT_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/linguistic2/ProofreadingResult.hdl"
       7             : 
       8             : #include "com/sun/star/linguistic2/XProofreader.hpp"
       9             : #include "com/sun/star/beans/PropertyValue.hpp"
      10             : #include "com/sun/star/linguistic2/SingleProofreadingError.hpp"
      11             : #include "com/sun/star/lang/Locale.hpp"
      12             : #include "com/sun/star/text/XFlatParagraph.hpp"
      13             : #include "com/sun/star/uno/Reference.hxx"
      14             : #include "com/sun/star/uno/Sequence.hxx"
      15             : #include "com/sun/star/uno/Type.hxx"
      16             : #include "cppu/unotype.hxx"
      17             : #include "rtl/ustring.hxx"
      18             : #include "sal/types.h"
      19             : #include "typelib/typeclass.h"
      20             : #include "typelib/typedescription.h"
      21             : 
      22             : namespace com { namespace sun { namespace star { namespace linguistic2 {
      23             : 
      24           0 : inline ProofreadingResult::ProofreadingResult() SAL_THROW(())
      25             :     : aDocumentIdentifier()
      26             :     , xFlatParagraph()
      27             :     , aText()
      28             :     , aLocale()
      29             :     , nStartOfSentencePosition(0)
      30             :     , nBehindEndOfSentencePosition(0)
      31             :     , nStartOfNextSentencePosition(0)
      32             :     , aErrors()
      33             :     , aProperties()
      34           0 :     , xProofreader()
      35             : {
      36           0 : }
      37             : 
      38             : inline ProofreadingResult::ProofreadingResult(const ::rtl::OUString& aDocumentIdentifier_, const ::com::sun::star::uno::Reference< css::text::XFlatParagraph >& xFlatParagraph_, const ::rtl::OUString& aText_, const css::lang::Locale& aLocale_, const ::sal_Int32& nStartOfSentencePosition_, const ::sal_Int32& nBehindEndOfSentencePosition_, const ::sal_Int32& nStartOfNextSentencePosition_, const ::com::sun::star::uno::Sequence< css::linguistic2::SingleProofreadingError >& aErrors_, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& aProperties_, const ::com::sun::star::uno::Reference< css::linguistic2::XProofreader >& xProofreader_) SAL_THROW(())
      39             :     : aDocumentIdentifier(aDocumentIdentifier_)
      40             :     , xFlatParagraph(xFlatParagraph_)
      41             :     , aText(aText_)
      42             :     , aLocale(aLocale_)
      43             :     , nStartOfSentencePosition(nStartOfSentencePosition_)
      44             :     , nBehindEndOfSentencePosition(nBehindEndOfSentencePosition_)
      45             :     , nStartOfNextSentencePosition(nStartOfNextSentencePosition_)
      46             :     , aErrors(aErrors_)
      47             :     , aProperties(aProperties_)
      48             :     , xProofreader(xProofreader_)
      49             : {
      50             : }
      51             : 
      52             : } } } }
      53             : 
      54             : namespace com { namespace sun { namespace star { namespace linguistic2 {
      55             : 
      56           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::linguistic2::ProofreadingResult const *) {
      57             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      58             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      59           0 :     if (the_type == 0) {
      60           0 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.linguistic2.ProofreadingResult");
      61             :     }
      62           0 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      63             : }
      64             : 
      65             : } } } }
      66             : 
      67             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::linguistic2::ProofreadingResult const *) SAL_THROW(()) {
      68             :     return ::cppu::UnoType< css::linguistic2::ProofreadingResult >::get();
      69             : }
      70             : 
      71             : #endif // INCLUDED_COM_SUN_STAR_LINGUISTIC2_PROOFREADINGRESULT_HPP

Generated by: LCOV version 1.10