LCOV - code coverage report
Current view: top level - libreoffice/l10ntools/source - propex.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 12 0.0 %
Date: 2012-12-27 Functions: 0 2 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 "export.hxx"
      13             : #include "propmerge.hxx"
      14             : 
      15           0 : SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
      16             : {
      17           0 :     HandledArgs aArgs;
      18           0 :     if( !Export::handleArguments(argc, argv, aArgs) )
      19             :     {
      20           0 :         Export::writeUsage("propex","properties");
      21           0 :         return 1;
      22             :     }
      23             : 
      24             :     PropParser aParser(
      25           0 :         aArgs.m_sInputFile, Export::sLanguages, 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             :         aParser.Extract(
      37           0 :             aArgs.m_sOutputFile, aArgs.m_sPrj, aArgs.m_sPrjRoot );
      38             :     }
      39           0 :     return 0;
      40             : }
      41             : 
      42             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10