LCOV - code coverage report
Current view: top level - lotuswordpro/source/filter - genericfilter.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 10 0.0 %
Date: 2014-04-14 Functions: 0 1 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             : #include <stdio.h>
       3             : 
       4             : #include <osl/mutex.hxx>
       5             : #include <osl/thread.h>
       6             : #include <cppuhelper/factory.hxx>
       7             : #include <com/sun/star/lang/XSingleServiceFactory.hpp>
       8             : 
       9             : #include "LotusWordProImportFilter.hxx"
      10             : 
      11             : using namespace ::rtl;
      12             : using namespace ::cppu;
      13             : using namespace ::com::sun::star::uno;
      14             : using namespace ::com::sun::star::lang;
      15             : using namespace ::com::sun::star::registry;
      16             : 
      17             : extern "C"
      18             : {
      19           0 : SAL_DLLPUBLIC_EXPORT void * SAL_CALL lotuswordpro_component_getFactory(
      20             :     const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
      21             : {
      22           0 :     void * pRet = 0;
      23             : 
      24           0 :     OUString implName = OUString::createFromAscii( pImplName );
      25           0 :     if ( pServiceManager && implName.equals(LotusWordProImportFilter_getImplementationName()) )
      26             :     {
      27             :         Reference< XSingleServiceFactory > xFactory( createSingleFactory(
      28             :             reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
      29             :             OUString::createFromAscii( pImplName ),
      30           0 :             LotusWordProImportFilter_createInstance, LotusWordProImportFilter_getSupportedServiceNames() ) );
      31             : 
      32           0 :         if (xFactory.is())
      33             :         {
      34           0 :             xFactory->acquire();
      35           0 :             pRet = xFactory.get();
      36           0 :         }
      37             :     }
      38             : 
      39           0 :     return pRet;
      40             : }
      41             : }
      42             : 
      43             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10