summaryrefslogtreecommitdiff
path: root/io/source/TextOutputStream/TextOutputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/TextOutputStream/TextOutputStream.cxx')
-rw-r--r--io/source/TextOutputStream/TextOutputStream.cxx19
1 files changed, 1 insertions, 18 deletions
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index 84f9f488c247..e26d515c025f 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -33,6 +33,7 @@
#include <com/sun/star/io/XTextOutputStream2.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include "services.hxx"
#define IMPLEMENTATION_NAME "com.sun.star.comp.io.TextOutputStream"
#define SERVICE_NAME "com.sun.star.io.TextOutputStream"
@@ -278,22 +279,4 @@ Sequence< OUString > OTextOutputStream::getSupportedServiceNames(void) throw()
}
-using namespace io_TextOutputStream;
-
-static const struct ImplementationEntry g_entries[] =
-{
- {
- TextOutputStream_CreateInstance, TextOutputStream_getImplementationName ,
- TextOutputStream_getSupportedServiceNames, createSingleComponentFactory ,
- 0, 0
- },
- { 0, 0, 0, 0, 0, 0 }
-};
-
-extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL textoutstream_component_getFactory(
- const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
-{
- return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */