summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-12 16:04:07 +0200
committerNoel Grandin <noel@peralex.com>2015-06-15 09:46:14 +0200
commit1afb790a118f07e888f7a1a94a8fd06d0d8713dd (patch)
treeb82bee79e3dd74f7a5b8ae7387ccb002b0de1831 /shell
parentc3a8adb2e06888fc237aa6e3d43c32d805a46537 (diff)
inline COMPHELPER_SERVICEDECL_ macro
it was not adding any value Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
Diffstat (limited to 'shell')
-rw-r--r--shell/source/sessioninstall/services.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/shell/source/sessioninstall/services.cxx b/shell/source/sessioninstall/services.cxx
index 9372e63c79df..bc27deb7bf84 100644
--- a/shell/source/sessioninstall/services.cxx
+++ b/shell/source/sessioninstall/services.cxx
@@ -20,11 +20,17 @@ const sdecl::ServiceDecl SyncDbusSessionHelperServiceDecl(
"org.libreoffice.comp.shell.sessioninstall.SyncDbusSessionHelper",
"org.freedesktop.PackageKit.SyncDbusSessionHelper");
-COMPHELPER_SERVICEDECL_EXPORTS1(losessioninstall, SyncDbusSessionHelperServiceDecl);
extern "C"
+SAL_DLLPUBLIC_EXPORT void* SAL_CALL losessioninstall_component_getFactory( sal_Char const* pImplName,
+ void*, void* )
{
- SAL_DLLPUBLIC_EXPORT void* SAL_CALL sessioninstall_component_getFactory( sal_Char const* pImplName, void* pServiceManager, void* pRegistryKey )
- { return losessioninstall_component_getFactory(pImplName, pServiceManager, pRegistryKey); }
+ return component_getFactoryHelper( pImplName, SyncDbusSessionHelperServiceDecl );
+}
+
+extern "C"
+SAL_DLLPUBLIC_EXPORT void* SAL_CALL sessioninstall_component_getFactory( sal_Char const* pImplName, void* pServiceManager, void* pRegistryKey )
+{
+ return losessioninstall_component_getFactory(pImplName, pServiceManager, pRegistryKey);
}