summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-17 14:23:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-17 14:23:46 +0200
commitb9789a63191830a74569ed46f4292968818b5fe2 (patch)
treea1f9b67c841233ef9c495c91386ef11bb9b40230 /sd
parentfc78d8dfbaaa4e9bc482e91ce4437373b1db5cff (diff)
There is no ExportCGM
Change-Id: I84b0d4daa3a6090aadaa7f64bdb9277efbba371f
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/cgm/sdcgmfilter.cxx24
1 files changed, 1 insertions, 23 deletions
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: */