Kaydet (Commit) 0c3e10b8 authored tarafından Julien Nabet's avatar Julien Nabet

Replace macro IMPLEMENTATION_ENTRY used once (filter)

Change-Id: I9781487fc7cdfd3dc71f27d51d74c0f4138eec65
Reviewed-on: https://gerrit.libreoffice.org/63524
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst d30eb91f
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment