LCOV - code coverage report
Current view: top level - l10ntools/source - propex.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 13 0.0 %
Date: 2014-11-03 Functions: 0 4 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 "sal/main.h"
      11             : 
      12             : #include "common.hxx"
      13             : #include "propmerge.hxx"
      14             : 
      15           0 : SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
      16             : {
      17           0 :     common::HandledArgs aArgs;
      18           0 :     if( !common::handleArguments(argc, argv, aArgs) )
      19             :     {
      20           0 :         common::writeUsage("propex","*.properties");
      21           0 :         return 1;
      22             :     }
      23             : 
      24             :     PropParser aParser(
      25           0 :         aArgs.m_sInputFile, aArgs.m_sLanguage, aArgs.m_bMergeMode );
      26           0 :     if( !aParser.isInitialized() )
      27             :     {
      28           0 :         return 1;
      29             :     }
      30           0 :     if( aArgs.m_bMergeMode )
      31             :     {
      32           0 :         aParser.Merge( aArgs.m_sMergeSrc, aArgs.m_sOutputFile );
      33             :     }
      34             :     else
      35             :     {
      36           0 :         aParser.Extract( aArgs.m_sOutputFile );
      37             :     }
      38           0 :     return 0;
      39           0 : }
      40             : 
      41             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10