summaryrefslogtreecommitdiff
path: root/io/source/TextOutputStream
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-04-10 16:29:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-19 16:52:03 +0200
commiteeaa2ecd1e1f6e0f468854b891de0caa28c470e6 (patch)
tree8301967148dea710244b57c008b4fa18d176965a /io/source/TextOutputStream
parentef08518fcfdab0e5fd5c61aa4fb4f7907fcb8355 (diff)
remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
Diffstat (limited to 'io/source/TextOutputStream')
-rw-r--r--io/source/TextOutputStream/TextOutputStream.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index 6716eb6d250f..36f332779188 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -28,7 +28,6 @@
#include <rtl/textenc.h>
#include <rtl/tencinfo.h>
-#include <rtl/unload.h>
#include <com/sun/star/io/XTextOutputStream2.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -283,20 +282,10 @@ static struct ImplementationEntry g_entries[] =
{ 0, 0, 0, 0, 0, 0 }
};
-extern "C"
-{
-SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
-{
- return g_moduleCount.canUnload( &g_moduleCount , pTime );
-}
-
-//==================================================================================================
-SAL_DLLPUBLIC_EXPORT void * SAL_CALL textoutstream_component_getFactory(
+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: */