2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2011-03-31 10:05:04 +02:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2014-04-15 19:05:01 +02:00
|
|
|
#include <cppuhelper/implementationentry.hxx>
|
2014-11-14 22:52:35 +01:00
|
|
|
#include <osl/diagnose.h>
|
2014-04-15 19:05:01 +02:00
|
|
|
#include <comphelper/servicedecl.hxx>
|
2009-09-18 15:35:47 +00:00
|
|
|
|
|
|
|
// component exports
|
2014-02-25 21:01:20 +01:00
|
|
|
|
2009-09-18 15:35:47 +00:00
|
|
|
namespace sdecl = comphelper::service_decl;
|
|
|
|
|
|
|
|
namespace globals
|
|
|
|
{
|
|
|
|
extern sdecl::ServiceDecl const serviceDecl;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace document
|
|
|
|
{
|
|
|
|
extern sdecl::ServiceDecl const serviceDecl;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace wrapformat
|
|
|
|
{
|
|
|
|
extern sdecl::ServiceDecl const serviceDecl;
|
|
|
|
}
|
|
|
|
|
2010-07-06 19:34:53 +02:00
|
|
|
namespace vbaeventshelper
|
|
|
|
{
|
|
|
|
extern sdecl::ServiceDecl const serviceDecl;
|
|
|
|
}
|
|
|
|
|
2010-10-06 10:16:50 +01:00
|
|
|
namespace vbaeventshelper
|
|
|
|
{
|
|
|
|
extern sdecl::ServiceDecl const serviceDecl;
|
|
|
|
}
|
|
|
|
|
2011-07-15 16:40:20 +02:00
|
|
|
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL vbaswobj_component_getFactory(
|
2015-01-20 11:05:38 +01:00
|
|
|
const sal_Char * pImplName, void *, void *)
|
2009-09-18 15:35:47 +00:00
|
|
|
{
|
2014-08-21 17:22:20 +02:00
|
|
|
void* pRet = component_getFactoryHelper(pImplName,
|
|
|
|
globals::serviceDecl, ::document::serviceDecl,
|
2011-07-15 16:40:20 +02:00
|
|
|
wrapformat::serviceDecl, vbaeventshelper::serviceDecl );
|
2013-07-07 10:52:38 +02:00
|
|
|
OSL_TRACE("Ret is 0x%p", pRet);
|
2009-09-18 15:35:47 +00:00
|
|
|
return pRet;
|
|
|
|
}
|
2010-10-14 08:30:41 +02:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|