diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-09-04 16:53:35 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-09-04 16:55:22 +0200 |
commit | 3a021c00d9b27e6bcafbfaf8bf7b36cdd40768e2 (patch) | |
tree | 90db9f86854135868ce88b227848765aa6be2d0a | |
parent | e76b2053b4c5520ec880fb4fa0031a7ff2ca9ee5 (diff) |
fdo#68210 related: make other filters work again too
- see dc86610d16a561ff1a0455d5fef157431f9271e3 for details
Change-Id: I6041ca10f58335187928995368db673c1ce22e7b
20 files changed, 80 insertions, 28 deletions
diff --git a/filter/source/graphicfilter/egif/egif.cxx b/filter/source/graphicfilter/egif/egif.cxx index 708e7b57505e..74b82a6daf97 100644 --- a/filter/source/graphicfilter/egif/egif.cxx +++ b/filter/source/graphicfilter/egif/egif.cxx @@ -558,7 +558,10 @@ void GIFWriter::WriteTerminator() // ------------------------------------------------------------------------ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport egiGraphicExport #endif diff --git a/filter/source/graphicfilter/eos2met/eos2met.cxx b/filter/source/graphicfilter/eos2met/eos2met.cxx index fc9efad3a73e..780e5e4bf222 100644 --- a/filter/source/graphicfilter/eos2met/eos2met.cxx +++ b/filter/source/graphicfilter/eos2met/eos2met.cxx @@ -2553,7 +2553,10 @@ sal_Bool METWriter::WriteMET( const GDIMetaFile& rMTF, SvStream& rTargetStream, //================== GraphicExport - the exported Function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport emeGraphicExport #endif diff --git a/filter/source/graphicfilter/epbm/epbm.cxx b/filter/source/graphicfilter/epbm/epbm.cxx index d59c1ad5784e..7fc5743d23ed 100644 --- a/filter/source/graphicfilter/epbm/epbm.cxx +++ b/filter/source/graphicfilter/epbm/epbm.cxx @@ -189,7 +189,10 @@ void PBMWriter::ImplWriteNumber(sal_Int32 nNumber) // - exported function - // --------------------- -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport epbGraphicExport #endif diff --git a/filter/source/graphicfilter/epgm/epgm.cxx b/filter/source/graphicfilter/epgm/epgm.cxx index 912fdd341c4d..40ee4c5066e7 100644 --- a/filter/source/graphicfilter/epgm/epgm.cxx +++ b/filter/source/graphicfilter/epgm/epgm.cxx @@ -213,7 +213,10 @@ void PGMWriter::ImplWriteNumber(sal_Int32 nNumber) // - exported function - // --------------------- -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport epgGraphicExport #endif diff --git a/filter/source/graphicfilter/epict/epict.cxx b/filter/source/graphicfilter/epict/epict.cxx index 8af1c52abc5f..60419f7c78e6 100644 --- a/filter/source/graphicfilter/epict/epict.cxx +++ b/filter/source/graphicfilter/epict/epict.cxx @@ -2266,7 +2266,10 @@ sal_Bool PictWriter::WritePict(const GDIMetaFile & rMTF, SvStream & rTargetStrea //================== GraphicExport - the exported Function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport eptGraphicExport #endif diff --git a/filter/source/graphicfilter/eppm/eppm.cxx b/filter/source/graphicfilter/eppm/eppm.cxx index 3c0106940ca4..fcb40f128829 100644 --- a/filter/source/graphicfilter/eppm/eppm.cxx +++ b/filter/source/graphicfilter/eppm/eppm.cxx @@ -222,7 +222,10 @@ void PPMWriter::ImplWriteNumber(sal_Int32 nNumber) // - exported function - // --------------------- -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport eppGraphicExport #endif diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index b4a5f1b7a374..fcd7d3a74b9a 100644 --- a/filter/source/graphicfilter/eps/eps.cxx +++ b/filter/source/graphicfilter/eps/eps.cxx @@ -2809,7 +2809,10 @@ sal_Bool PSWriter::ImplGetBoundingBox( double* nNumb, sal_uInt8* pSource, sal_uL //================== GraphicExport - die exportierte Funktion ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport epsGraphicExport #endif diff --git a/filter/source/graphicfilter/eras/eras.cxx b/filter/source/graphicfilter/eras/eras.cxx index d0f3eff712ce..d40ee67b5a3f 100644 --- a/filter/source/graphicfilter/eras/eras.cxx +++ b/filter/source/graphicfilter/eras/eras.cxx @@ -269,7 +269,10 @@ void RASWriter::ImplPutByte( sal_uInt8 nPutThis ) // - exported function - // --------------------- -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport eraGraphicExport #endif diff --git a/filter/source/graphicfilter/etiff/etiff.cxx b/filter/source/graphicfilter/etiff/etiff.cxx index b7ae837ae185..68af37d4b9ab 100644 --- a/filter/source/graphicfilter/etiff/etiff.cxx +++ b/filter/source/graphicfilter/etiff/etiff.cxx @@ -592,11 +592,10 @@ void TIFFWriter::EndCompression() // ------------------------------------------------------------------------ -// --------------------- -// - exported function - -// --------------------- - -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport etiGraphicExport #endif diff --git a/filter/source/graphicfilter/expm/expm.cxx b/filter/source/graphicfilter/expm/expm.cxx index 2c64123b6a82..25c8e5e90088 100644 --- a/filter/source/graphicfilter/expm/expm.cxx +++ b/filter/source/graphicfilter/expm/expm.cxx @@ -247,11 +247,10 @@ void XPMWriter::ImplWriteColor( sal_uInt16 nNumber ) // ------------------------------------------------------------------------ -// --------------------- -// - exported function - -// --------------------- - -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicExport expGraphicExport #endif diff --git a/filter/source/graphicfilter/idxf/idxf.cxx b/filter/source/graphicfilter/idxf/idxf.cxx index b2639b30f24b..1a42be5fb283 100644 --- a/filter/source/graphicfilter/idxf/idxf.cxx +++ b/filter/source/graphicfilter/idxf/idxf.cxx @@ -29,7 +29,10 @@ class FilterConfigItem; //================== GraphicImport - die exportierte Funktion ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport idxGraphicImport #endif diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx index 311bf8cb21a4..bc1495249be4 100644 --- a/filter/source/graphicfilter/ieps/ieps.cxx +++ b/filter/source/graphicfilter/ieps/ieps.cxx @@ -473,7 +473,10 @@ void MakePreview(sal_uInt8* pBuf, sal_uInt32 nBytesRead, //================== GraphicImport - the exported function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport ipsGraphicImport #endif diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx index b50ce696600d..5724115dd776 100644 --- a/filter/source/graphicfilter/ios2met/ios2met.cxx +++ b/filter/source/graphicfilter/ios2met/ios2met.cxx @@ -2704,7 +2704,10 @@ void OS2METReader::ReadOS2MET( SvStream & rStreamOS2MET, GDIMetaFile & rGDIMetaF //================== GraphicImport - the exported function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport imeGraphicImport #endif diff --git a/filter/source/graphicfilter/ipbm/ipbm.cxx b/filter/source/graphicfilter/ipbm/ipbm.cxx index 6bf032452251..ee9feb034890 100644 --- a/filter/source/graphicfilter/ipbm/ipbm.cxx +++ b/filter/source/graphicfilter/ipbm/ipbm.cxx @@ -520,7 +520,10 @@ sal_Bool PBMReader::ImplReadBody() //================== GraphicImport - the exported function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport ipbGraphicImport #endif diff --git a/filter/source/graphicfilter/ipcd/ipcd.cxx b/filter/source/graphicfilter/ipcd/ipcd.cxx index 26cc4c2470ba..b5be77d85f42 100644 --- a/filter/source/graphicfilter/ipcd/ipcd.cxx +++ b/filter/source/graphicfilter/ipcd/ipcd.cxx @@ -367,7 +367,10 @@ void PCDReader::ReadImage(sal_uLong nMinPercent, sal_uLong nMaxPercent) //================== GraphicImport - the exported Function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport icdGraphicImport #endif diff --git a/filter/source/graphicfilter/ipcx/ipcx.cxx b/filter/source/graphicfilter/ipcx/ipcx.cxx index 397b4ce61754..54579ff0aa74 100644 --- a/filter/source/graphicfilter/ipcx/ipcx.cxx +++ b/filter/source/graphicfilter/ipcx/ipcx.cxx @@ -396,7 +396,10 @@ void PCXReader::ImplReadPalette( sal_uLong nCol ) //================== GraphicImport - the exported function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport ipxGraphicImport #endif diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx index 49d9f92f771a..9acd4c96be2f 100644 --- a/filter/source/graphicfilter/ipict/ipict.cxx +++ b/filter/source/graphicfilter/ipict/ipict.cxx @@ -1864,7 +1864,10 @@ void PictReader::ReadPict( SvStream & rStreamPict, GDIMetaFile & rGDIMetaFile ) //================== GraphicImport - the exported function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport iptGraphicImport #endif diff --git a/filter/source/graphicfilter/ipsd/ipsd.cxx b/filter/source/graphicfilter/ipsd/ipsd.cxx index b693c1365c68..4eccc1325dfe 100644 --- a/filter/source/graphicfilter/ipsd/ipsd.cxx +++ b/filter/source/graphicfilter/ipsd/ipsd.cxx @@ -720,7 +720,10 @@ sal_Bool PSDReader::ImplReadBody() //================== GraphicImport - the exported function ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport ipdGraphicImport #endif diff --git a/filter/source/graphicfilter/iras/iras.cxx b/filter/source/graphicfilter/iras/iras.cxx index 87b925830946..a1771e1d95ec 100644 --- a/filter/source/graphicfilter/iras/iras.cxx +++ b/filter/source/graphicfilter/iras/iras.cxx @@ -337,7 +337,10 @@ sal_uInt8 RASReader::ImplGetByte() //================== GraphicImport - die exportierte Funktion ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport iraGraphicImport #endif diff --git a/filter/source/graphicfilter/itga/itga.cxx b/filter/source/graphicfilter/itga/itga.cxx index e27d2ae43637..8672029454e0 100644 --- a/filter/source/graphicfilter/itga/itga.cxx +++ b/filter/source/graphicfilter/itga/itga.cxx @@ -795,7 +795,10 @@ sal_Bool TGAReader::ImplReadPalette() //================== GraphicImport - die exportierte Funktion ================ -#if defined(DISABLE_DYNLOADING) || defined(LIBO_MERGELIBS) +// this needs to be kept in sync with +// ImpFilterLibCacheEntry::GetImportFunction() from +// vcl/source/filter/graphicfilter.cxx +#if defined(DISABLE_DYNLOADING) #define GraphicImport itgGraphicImport #endif |