diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-10-02 00:16:18 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-10-02 00:16:18 +0200 |
commit | 09046cb6c040e836c0041c18b617559cd0e21df7 (patch) | |
tree | 34cc6b8befc360e8991b7da14e48553357916962 /extensions/source/resource | |
parent | 87e950a2472e52eabf5b5b1ff0275ca3aa8a7134 (diff) |
do not use COMPHELPER_SERVICEDECL_EXPORTS macro
Diffstat (limited to 'extensions/source/resource')
-rw-r--r-- | extensions/source/resource/resourceservices.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/extensions/source/resource/resourceservices.cxx b/extensions/source/resource/resourceservices.cxx index 0a08bb52666a..9f4358d70a46 100644 --- a/extensions/source/resource/resourceservices.cxx +++ b/extensions/source/resource/resourceservices.cxx @@ -50,9 +50,13 @@ const sdecl::ServiceDecl OpenOfficeResourceLoaderDecl( "com.sun.star.comp.resource.OpenOfficeResourceLoader", "com.sun.star.resource.OfficeResourceLoader"); -COMPHELPER_SERVICEDECL_EXPORTS2( - ResourceIndexAccessDecl, - OpenOfficeResourceLoaderDecl -); +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( + sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, + ResourceIndexAccessDecl, OpenOfficeResourceLoaderDecl ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |