Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Thorsten

Thorsten Behrens <thb@documentfoundation.org> wrote:
(16/12/2011 01:55)

Matteo Casalin wrote:
set:
 /binfilter/binfilter/bf_svtools/source/filter.vcl/filter/svt_filter.cxx
 /core/svtools/source/filter/filter.cxx

Both can go.

From my understanding, if we remove these 2 calls that set te 
COMPRESSMODE_FULL flag then there is no reason to keep the code that 
depend on that, unless the svstream acquires the flag from the stream 
itself or that it's set by calling the set function with a "magic 
number" instead of the #define.

check:
 /core/tools/source/generic/gen.cxx
 /core/tools/source/generic/color.cxx
 /core/tools/source/generic/poly.cxx

Heh. Hard to tell - that is used for reading our pesky
StarViewMetafiles, I have *no* idea whether we ever wrote those out
with that compression mode. If we take that out, we'd need to catch
the case somewhere in vcl/source/gdi/gdimtf.cxx and generate a very
noisy warning.

So, the "best" approach would be:
* introducing a warning in the if (mode==COMPRESSMODE_FULL) cases (I 
don't know anything about debug functions, any suggestion for the 
preferred function to call?)
* leave the handling code untouched
* eventually, just remove the write functionality (safe only if the 
old StarViewMetafiles can not be written anymore)
* keep note of future chance to remove the whole feature

I'll try to get some more information about when this feature is 
enabled, anyway.

Thanks!
Cheers
Matteo

 /binfilter/binfilter/bf_svx/source/xoutdev/svx__xpoly.cxx

Wouldn't touch that - binfilter is destined to die for 4.0

Cheers,

-- Thorsten


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.