From b9789a63191830a74569ed46f4292968818b5fe2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 17 Oct 2014 14:23:27 +0200 Subject: There is no ExportCGM Change-Id: I84b0d4daa3a6090aadaa7f64bdb9277efbba371f --- sd/source/filter/cgm/sdcgmfilter.cxx | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'sd') diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx index 1e9ece21113d..cad19cd91ad4 100644 --- a/sd/source/filter/cgm/sdcgmfilter.cxx +++ b/sd/source/filter/cgm/sdcgmfilter.cxx @@ -41,7 +41,6 @@ using namespace ::com::sun::star::task; using namespace ::com::sun::star::frame; typedef sal_uInt32 ( SAL_CALL *ImportCGMPointer )( OUString const &, Reference< XModel > const &, sal_uInt32, Reference< XStatusIndicator > const & ); -typedef sal_Bool ( SAL_CALL *ExportCGMPointer )( OUString&, Reference< XModel >&, Reference< XStatusIndicator >&, void* ); #ifdef DISABLE_DYNLOADING @@ -112,29 +111,8 @@ bool SdCGMFilter::Import() bool SdCGMFilter::Export() { -#ifdef DISABLE_DYNLOADING // No ExportCGM function exists(!) - return sal_False; -#else - ::osl::Module* pLibrary = OpenLibrary( mrMedium.GetFilter()->GetUserData() ); - bool bRet = false; - - if( pLibrary && mxModel.is() ) - { - ExportCGMPointer FncCGMExport = reinterpret_cast< ExportCGMPointer >( pLibrary->getFunctionSymbol( "ExportCGM" ) ); - - if( FncCGMExport ) - { - OUString aPhysicalName( mrMedium.GetPhysicalName() ); - - CreateStatusIndicator(); - bRet = FncCGMExport( aPhysicalName, mxModel, mxStatusIndicator, NULL ); - } - } - - delete pLibrary; - return bRet; -#endif + return false; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit