From eeaa2ecd1e1f6e0f468854b891de0caa28c470e6 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Wed, 10 Apr 2013 16:29:45 +0200 Subject: remove unused component_canUnload functions Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc --- io/source/TextOutputStream/TextOutputStream.cxx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'io/source/TextOutputStream') 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 #include -#include #include #include @@ -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: */ -- cgit