LCOV - code coverage report
Current view: top level - libreoffice/xmloff/source/core - xmlictxt.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 14 14 100.0 %
Date: 2012-12-17 Functions: 9 12 75.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 <com/sun/star/xml/sax/SAXParseException.hpp>
      21             : #include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
      22             : #include <com/sun/star/xml/sax/SAXException.hpp>
      23             : #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
      24             : #include <com/sun/star/xml/sax/XAttributeList.hpp>
      25             : #include <com/sun/star/xml/sax/XLocator.hpp>
      26             : #include <xmloff/nmspmap.hxx>
      27             : #include <xmloff/xmlimp.hxx>
      28             : #include <xmloff/xmlictxt.hxx>
      29             : #include <tools/debug.hxx>
      30             : 
      31             : using ::rtl::OUString;
      32             : using ::rtl::OUStringBuffer;
      33             : 
      34             : using namespace ::com::sun::star;
      35             : 
      36             : DBG_NAME(SvXMLImportContext)
      37         364 : TYPEINIT0( SvXMLImportContext );
      38       45282 : SvXMLImportContext::SvXMLImportContext( SvXMLImport& rImp, sal_uInt16 nPrfx,
      39             :                               const OUString& rLName ) :
      40             :     mrImport( rImp ),
      41             :     mnPrefix( nPrfx ),
      42             :     maLocalName( rLName ),
      43       45282 :     mpRewindMap( 0 )
      44             : {
      45             :     DBG_CTOR(SvXMLImportContext,NULL);
      46             : 
      47       45282 : }
      48             : 
      49       50116 : SvXMLImportContext::~SvXMLImportContext()
      50             : {
      51             : 
      52             :     DBG_DTOR(SvXMLImportContext,NULL);
      53       50116 : }
      54             : 
      55        1456 : SvXMLImportContext *SvXMLImportContext::CreateChildContext( sal_uInt16 nPrefix,
      56             :                                             const OUString& rLocalName,
      57             :                                             const uno::Reference< xml::sax::XAttributeList >& xAttrList )
      58             : {
      59        1456 :     return mrImport.CreateContext( nPrefix, rLocalName, xAttrList );
      60             : }
      61             : 
      62       38437 : void SvXMLImportContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& )
      63             : {
      64       38437 : }
      65             : 
      66       16552 : void SvXMLImportContext::EndElement()
      67             : {
      68       16552 : }
      69             : 
      70        9046 : void SvXMLImportContext::Characters( const OUString& )
      71             : {
      72        9046 : }
      73             : 
      74             : 
      75             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10