LCOV - code coverage report
Current view: top level - editeng/source/misc - SvXMLAutoCorrectTokenHandler.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 13 0.0 %
Date: 2014-11-03 Functions: 0 5 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 <SvXMLAutoCorrectTokenHandler.hxx>
      11             : #include <xmloff/xmltoken.hxx>
      12             : #include <com/sun/star/xml/sax/FastToken.hpp>
      13             : 
      14             : using namespace ::css::uno;
      15             : using namespace ::xmloff::token;
      16             : 
      17           0 : SvXMLAutoCorrectTokenHandler::SvXMLAutoCorrectTokenHandler()
      18             : {
      19           0 : }
      20             : 
      21           0 : SvXMLAutoCorrectTokenHandler::~SvXMLAutoCorrectTokenHandler()
      22             : {
      23           0 : }
      24             : 
      25           0 : sal_Int32 SAL_CALL SvXMLAutoCorrectTokenHandler::getTokenFromUTF8( const Sequence< sal_Int8 >& Identifier )
      26             :      throw (::css::uno::RuntimeException, std::exception)
      27             : {
      28           0 :     switch( Identifier.getLength() )
      29             :     {
      30           0 :         case 4:     return XML_NAME;
      31           0 :         case 5:     return XML_BLOCK;
      32           0 :         case 10:    return XML_BLOCK_LIST;
      33           0 :         case 16:    return XML_ABBREVIATED_NAME;
      34           0 :         default:    return css::xml::sax::FastToken::DONTKNOW;
      35             :     }
      36             : }
      37             : 
      38           0 : Sequence< sal_Int8 > SAL_CALL SvXMLAutoCorrectTokenHandler::getUTF8Identifier( sal_Int32 )
      39             :      throw (::css::uno::RuntimeException, std::exception)
      40             : {
      41           0 :     return Sequence< sal_Int8 >();
      42             : }
      43             : 
      44             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10