[Libreoffice-commits] core.git: filter/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Nov 18 11:55:46 UTC 2018
filter/source/msfilter/services.cxx | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
New commits:
commit 0c3e10b8407996b822331c56201ade515245f373
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Nov 18 11:59:00 2018 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Nov 18 12:55:26 2018 +0100
Replace macro IMPLEMENTATION_ENTRY used once (filter)
Change-Id: I9781487fc7cdfd3dc71f27d51d74c0f4138eec65
Reviewed-on: https://gerrit.libreoffice.org/63524
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/filter/source/msfilter/services.cxx b/filter/source/msfilter/services.cxx
index ba3a7b066b65..e939991b1fb8 100644
--- a/filter/source/msfilter/services.cxx
+++ b/filter/source/msfilter/services.cxx
@@ -21,20 +21,17 @@
#include <filter/msfilter/msvbahelper.hxx>
using namespace ::com::sun::star::uno;
+using namespace ::ooo::vba;
namespace {
-#define IMPLEMENTATION_ENTRY( className ) \
- { &className##_createInstance, &className##_getImplementationName, &className##_getSupportedServiceNames, ::cppu::createSingleComponentFactory, nullptr, 0 }
-
static ::cppu::ImplementationEntry const spServices[] =
{
- IMPLEMENTATION_ENTRY( ::ooo::vba::VBAMacroResolver ),
- { nullptr, nullptr, nullptr, nullptr, nullptr, 0 }
+ { VBAMacroResolver_createInstance, VBAMacroResolver_getImplementationName,
+ VBAMacroResolver_getSupportedServiceNames,
+ ::cppu::createSingleComponentFactory, nullptr, 0 }
};
-#undef IMPLEMENTATION_ENTRY
-
} // namespace
extern "C" SAL_DLLPUBLIC_EXPORT void* msfilter_component_getFactory( const char* pImplName, void* pServiceManager, void* pRegistryKey )
More information about the Libreoffice-commits
mailing list