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

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_XML_SAX_SAXPARSEEXCEPTION_HPP
       2             : #define INCLUDED_COM_SUN_STAR_XML_SAX_SAXPARSEEXCEPTION_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/xml/sax/SAXParseException.hdl"
       7             : 
       8             : #include "com/sun/star/xml/sax/SAXException.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             : #include "sal/types.h"
      15             : 
      16             : namespace com { namespace sun { namespace star { namespace xml { namespace sax {
      17             : 
      18        2550 : inline SAXParseException::SAXParseException() SAL_THROW(())
      19             :     : css::xml::sax::SAXException()
      20             :     , PublicId()
      21             :     , SystemId()
      22             :     , LineNumber(0)
      23        2550 :     , ColumnNumber(0)
      24        2550 : { }
      25             : 
      26           2 : inline SAXParseException::SAXParseException(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const ::com::sun::star::uno::Any& WrappedException_, const ::rtl::OUString& PublicId_, const ::rtl::OUString& SystemId_, const ::sal_Int32& LineNumber_, const ::sal_Int32& ColumnNumber_) SAL_THROW(())
      27             :     : css::xml::sax::SAXException(Message_, Context_, WrappedException_)
      28             :     , PublicId(PublicId_)
      29             :     , SystemId(SystemId_)
      30             :     , LineNumber(LineNumber_)
      31           2 :     , ColumnNumber(ColumnNumber_)
      32           2 : { }
      33             : 
      34           2 : SAXParseException::SAXParseException(SAXParseException const & the_other): css::xml::sax::SAXException(the_other), PublicId(the_other.PublicId), SystemId(the_other.SystemId), LineNumber(the_other.LineNumber), ColumnNumber(the_other.ColumnNumber) {}
      35             : 
      36        2554 : SAXParseException::~SAXParseException() {}
      37             : 
      38         956 : SAXParseException & SAXParseException::operator =(SAXParseException const & the_other) {
      39             :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      40         956 :     css::xml::sax::SAXException::operator =(the_other);
      41         956 :     PublicId = the_other.PublicId;
      42         956 :     SystemId = the_other.SystemId;
      43         956 :     LineNumber = the_other.LineNumber;
      44         956 :     ColumnNumber = the_other.ColumnNumber;
      45         956 :     return *this;
      46             : }
      47             : 
      48             : } } } } }
      49             : 
      50             : namespace com { namespace sun { namespace star { namespace xml { namespace sax {
      51             : 
      52           1 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::sax::SAXParseException const *) {
      53             :     static typelib_TypeDescriptionReference * the_type = 0;
      54           1 :     if ( !the_type )
      55             :     {
      56           1 :         typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.xml.sax.SAXParseException" );
      57             :     }
      58           1 :     return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
      59             : }
      60             : 
      61             : } } } } }
      62             : 
      63           1 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::xml::sax::SAXParseException const *) SAL_THROW(()) {
      64           1 :     return ::cppu::UnoType< css::xml::sax::SAXParseException >::get();
      65             : }
      66             : 
      67             : #endif // INCLUDED_COM_SUN_STAR_XML_SAX_SAXPARSEEXCEPTION_HPP

Generated by: LCOV version 1.10