datefunc.cxx (86e1cf34) datefunc.cxx (390c74e1)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 220 unchanged lines hidden (view full) ---

229 return xInst;
230}
231
232
233//------------------------------------------------------------------------
234
235extern "C" {
236
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 220 unchanged lines hidden (view full) ---

229 return xInst;
230}
231
232
233//------------------------------------------------------------------------
234
235extern "C" {
236
237void SAL_CALL component_getImplementationEnvironment(
237SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
238 const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
239{
240 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
241}
242
238 const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
239{
240 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
241}
242
243void * SAL_CALL component_getFactory(
243SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
244 const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
245{
246 void* pRet = 0;
247
248 if ( pServiceManager &&
249 OUString::createFromAscii( pImplName ) == ScaDateAddIn::getImplementationName_Static() )
250 {
251 uno::Reference< lang::XSingleServiceFactory > xFactory( cppu::createOneInstanceFactory(

--- 715 unchanged lines hidden ---
244 const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
245{
246 void* pRet = 0;
247
248 if ( pServiceManager &&
249 OUString::createFromAscii( pImplName ) == ScaDateAddIn::getImplementationName_Static() )
250 {
251 uno::Reference< lang::XSingleServiceFactory > xFactory( cppu::createOneInstanceFactory(

--- 715 unchanged lines hidden ---