diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-01 19:04:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-01 19:51:18 +0100 |
commit | 7c7204ceefd7f2828225d40e8d88f69c84927c43 (patch) | |
tree | 9ab8ca2f9f29f454335933d3565353a6b4afc068 /sd | |
parent | 537fff14c233ad85a22588557ff0e9a3caeea155 (diff) |
CGM_EXPORT_IMPRESS is always used
Change-Id: Ic5d9f0f015deae6e4db00912f1b432dbfefd8534
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/cgm/sdcgmfilter.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx index 1dc775256435..70e35bcbcb9d 100644 --- a/sd/source/filter/cgm/sdcgmfilter.cxx +++ b/sd/source/filter/cgm/sdcgmfilter.cxx @@ -33,7 +33,6 @@ #include "../../ui/inc/DrawDocShell.hxx" -#define CGM_EXPORT_IMPRESS 0x00000100 #define CGM_BIG_ENDIAN 0x00020000 using namespace ::com::sun::star; @@ -96,7 +95,7 @@ bool SdCGMFilter::Import() CreateStatusIndicator(); std::unique_ptr<SvStream> xIn(::utl::UcbStreamHelper::CreateStream(aFileURL, StreamMode::READ)); - nRetValue = xIn ? FncImportCGM(*xIn, mxModel, CGM_BIG_ENDIAN | CGM_EXPORT_IMPRESS, mxStatusIndicator) : 0; + nRetValue = xIn ? FncImportCGM(*xIn, mxModel, CGM_BIG_ENDIAN, mxStatusIndicator) : 0; if( nRetValue ) { @@ -134,7 +133,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportCGM(SvStream &rStream) CGMPointer aPointer; - bool bRet = aPointer.get()(rStream, xDocShRef->GetModel(), CGM_BIG_ENDIAN | CGM_EXPORT_IMPRESS, css::uno::Reference<css::task::XStatusIndicator>()) == 0; + bool bRet = aPointer.get()(rStream, xDocShRef->GetModel(), CGM_BIG_ENDIAN, css::uno::Reference<css::task::XStatusIndicator>()) == 0; xDocShRef->DoClose(); |