summaryrefslogtreecommitdiff
path: root/include/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-13 15:13:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-13 18:33:07 +0200
commit15f44cb6fbf2459dca522e4f5b7f525fd1d6c5e7 (patch)
treeaa6ecf5b700b36b135d3bba5ef6fbf0f65d2cd8f /include/ucbhelper
parent0544ea4ef08272543856d69927d0d666f61679b3 (diff)
expand out an UNO macro
to make the ongoing convert-to-UNO-constructor work easier Change-Id: I99596561832b10538505cf4dfdabaf11d6e4d7cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98664 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/ucbhelper')
-rw-r--r--include/ucbhelper/macros.hxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx
index 831f856dc876..8e62bc278e84 100644
--- a/include/ucbhelper/macros.hxx
+++ b/include/ucbhelper/macros.hxx
@@ -167,20 +167,6 @@ Class::getSupportedServiceNames() \
return getSupportedServiceNames_Static(); \
}
-// XServiceInfo impl.
-
-
-#define ONE_INSTANCE_SERVICE_FACTORY_IMPL( Class ) \
-css::uno::Reference< css::lang::XSingleServiceFactory > \
-Class::createServiceFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxServiceMgr ) \
-{ \
- return cppu::createOneInstanceFactory( \
- rxServiceMgr, \
- Class::getImplementationName_Static(), \
- Class##_CreateInstance, \
- Class::getSupportedServiceNames_Static() ); \
-}
-
#endif /* ! INCLUDED_UCBHELPER_MACROS_HXX */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */