LCOV - code coverage report
Current view: top level - desktop/source/deployment/registry/sfwk - dp_parceldesc.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 28 0.0 %
Date: 2014-04-14 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             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #include "dp_misc.h"
      21             : #include "dp_parceldesc.hxx"
      22             : 
      23             : 
      24             : 
      25             : using namespace ::com::sun::star;
      26             : using namespace ::com::sun::star::uno;
      27             : 
      28             : 
      29             : namespace dp_registry
      30             : {
      31             : namespace backend
      32             : {
      33             : namespace sfwk
      34             : {
      35             : 
      36             : 
      37             : // XDocumentHandler
      38             : void SAL_CALL
      39           0 : ParcelDescDocHandler::startDocument()
      40             : throw ( xml::sax::SAXException, RuntimeException, std::exception )
      41             : {
      42           0 :     m_bIsParsed = false;
      43           0 : }
      44             : 
      45             : void SAL_CALL
      46           0 : ParcelDescDocHandler::endDocument()
      47             : throw ( xml::sax::SAXException, RuntimeException, std::exception )
      48             : {
      49           0 :     m_bIsParsed = true;
      50           0 : }
      51             : 
      52             : void SAL_CALL
      53           0 : ParcelDescDocHandler::characters( const OUString & )
      54             :     throw ( xml::sax::SAXException, RuntimeException, std::exception )
      55             : {
      56           0 : }
      57             : 
      58             : void SAL_CALL
      59           0 : ParcelDescDocHandler::ignorableWhitespace( const OUString & )
      60             :     throw ( xml::sax::SAXException, RuntimeException, std::exception )
      61             : {
      62           0 : }
      63             : 
      64             : void SAL_CALL
      65           0 : ParcelDescDocHandler::processingInstruction(
      66             :     const OUString &, const OUString & )
      67             :         throw ( xml::sax::SAXException, RuntimeException, std::exception )
      68             : {
      69           0 : }
      70             : 
      71             : void SAL_CALL
      72           0 : ParcelDescDocHandler::setDocumentLocator(
      73             :     const Reference< xml::sax::XLocator >& )
      74             :         throw ( xml::sax::SAXException, RuntimeException, std::exception )
      75             : {
      76           0 : }
      77             : 
      78             : void SAL_CALL
      79           0 : ParcelDescDocHandler::startElement( const OUString& aName,
      80             :     const Reference< xml::sax::XAttributeList > & xAttribs )
      81             :         throw ( xml::sax::SAXException,
      82             :             RuntimeException, std::exception )
      83             : {
      84             : 
      85           0 :     dp_misc::TRACE("ParcelDescDocHandler::startElement() for " +
      86           0 :         aName + "\n");
      87           0 :     if ( !skipIndex )
      88             :     {
      89           0 :         if ( aName == "parcel" )
      90             :         {
      91           0 :             m_sLang = xAttribs->getValueByName( "language" );
      92             :         }
      93           0 :         ++skipIndex;
      94             :     }
      95             :     else
      96             :     {
      97             :         dp_misc::TRACE("ParcelDescDocHandler::startElement() skipping for "
      98           0 :             + aName + "\n");
      99             :     }
     100             : 
     101           0 : }
     102             : 
     103           0 : void SAL_CALL ParcelDescDocHandler::endElement( const OUString & aName )
     104             :    throw ( xml::sax::SAXException, RuntimeException, std::exception )
     105             : {
     106           0 :     if ( skipIndex )
     107             :     {
     108           0 :         --skipIndex;
     109             :         dp_misc::TRACE("ParcelDescDocHandler::endElement() skipping for "
     110           0 :             + aName + "\n");
     111             :     }
     112           0 : }
     113             : 
     114             : 
     115             : }
     116             : }
     117             : }
     118             : 
     119             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10