summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/api/services.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/api/services.cxx')
-rw-r--r--reportdesign/source/core/api/services.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/reportdesign/source/core/api/services.cxx b/reportdesign/source/core/api/services.cxx
index 5bbbbad5b1f4..9c500fa9c620 100644
--- a/reportdesign/source/core/api/services.cxx
+++ b/reportdesign/source/core/api/services.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,11 +72,11 @@ cppu::ImplementationEntry entries[] = {
&cppu::createSingleComponentFactory, 0, 0 },
{ &OFixedLine::create, &OFixedLine::getImplementationName_Static, &OFixedLine::getSupportedServiceNames_Static,
&cppu::createSingleComponentFactory, 0, 0 },
- { 0, 0, 0, 0, 0, 0 }
+ { 0, 0, 0, 0, 0, 0 }
};
}
-extern "C"
+extern "C"
{
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
char const * implName, void * serviceManager, void * registryKey)
@@ -91,6 +91,12 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
+SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
+ void * serviceManager, void * registryKey)
+{
+ return cppu::component_writeInfoHelper(
+ serviceManager, registryKey, entries);
+}
} // extern "C"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */