LibreOffice Module svx (master) 1
Namespaces | Macros | Functions
fmservs.cxx File Reference
#include <com/sun/star/container/XSet.hpp>
#include <cppuhelper/factory.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <fmservs.hxx>
Include dependency graph for fmservs.cxx:

Go to the source code of this file.

Namespaces

namespace  svxform
 class FmSearchEngine - Impl class for FmSearchDialog
 

Macros

#define REGISTER_SERVICE(ImplName, ServiceName)
 

Functions

void svxform::ImplSmartRegisterUnoServices ()
 

Macro Definition Documentation

◆ REGISTER_SERVICE

#define REGISTER_SERVICE (   ImplName,
  ServiceName 
)
Value:
sString = (ServiceName); \
xSingleFactory = ::cppu::createSingleFactory(xServiceFactory, \
OUString(), ImplName##_NewInstance_Impl, \
uno::Sequence< OUString>(&sString, 1)); \
if (xSingleFactory.is()) \
xSet->insert(uno::Any(xSingleFactory));

Definition at line 29 of file fmservs.cxx.