summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/msfilter/services.cxx11
1 files changed, 4 insertions, 7 deletions
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 )