LCOV - code coverage report
Current view: top level - cui/source/options - personasdochandler.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 25 0.0 %
Date: 2014-11-03 Functions: 0 8 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  */
       9             : 
      10             : #include "personasdochandler.hxx"
      11             : 
      12             : using namespace ::com::sun::star;
      13             : using namespace ::com::sun::star::uno;
      14             : 
      15             : // XDocumentHandler
      16             : void SAL_CALL
      17           0 : PersonasDocHandler::startDocument()
      18             : throw ( xml::sax::SAXException, RuntimeException, std::exception )
      19             : {
      20           0 : }
      21             : 
      22             : void SAL_CALL
      23           0 : PersonasDocHandler::endDocument()
      24             : throw ( xml::sax::SAXException, RuntimeException, std::exception )
      25             : {
      26           0 : }
      27             : 
      28             : void SAL_CALL
      29           0 : PersonasDocHandler::characters( const OUString & aChars)
      30             :     throw ( xml::sax::SAXException, RuntimeException, std::exception )
      31             : {
      32           0 :     if( m_isLearnmoreTag )
      33           0 :         m_vLearnmoreURLs.push_back( aChars );
      34           0 : }
      35             : 
      36             : void SAL_CALL
      37           0 : PersonasDocHandler::ignorableWhitespace( const OUString & )
      38             :     throw ( xml::sax::SAXException, RuntimeException, std::exception )
      39             : {
      40           0 : }
      41             : 
      42             : void SAL_CALL
      43           0 : PersonasDocHandler::processingInstruction(
      44             :     const OUString &, const OUString & )
      45             :         throw ( xml::sax::SAXException, RuntimeException, std::exception )
      46             : {
      47           0 : }
      48             : 
      49             : void SAL_CALL
      50           0 : PersonasDocHandler::setDocumentLocator(
      51             :     const Reference< xml::sax::XLocator >& )
      52             :         throw ( xml::sax::SAXException, RuntimeException, std::exception )
      53             : {
      54           0 : }
      55             : 
      56             : void SAL_CALL
      57           0 : PersonasDocHandler::startElement( const OUString& aName,
      58             :     const Reference< xml::sax::XAttributeList > &xAttribs )
      59             :         throw ( xml::sax::SAXException,
      60             :             RuntimeException, std::exception )
      61             : {
      62           0 :     if( aName == "searchresults" )
      63             :     {
      64           0 :         OUString aTotalResults = xAttribs->getValueByName( "total_results" );
      65           0 :         if( !aTotalResults.equals( "0" ) )
      66           0 :             m_hasResults = true;
      67             :     }
      68             : 
      69           0 :     if ( aName == "learnmore" )
      70           0 :         m_isLearnmoreTag = true;
      71             :     else
      72           0 :         m_isLearnmoreTag = false;
      73           0 : }
      74             : 
      75           0 : void SAL_CALL PersonasDocHandler::endElement( const OUString & )
      76             :    throw ( xml::sax::SAXException, RuntimeException, std::exception )
      77             : {
      78           0 : }
      79             : 
      80             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10