Apache OpenOffice (AOO) Bugzilla – Issue 76764
unused code in binfilter/bf_sfx2
Last modified: 2007-08-30 15:53:18 UTC
due to an error caused by changing the way bf_sfx code is linked to bf_svx we found that previously a couple of symbols from bf_sfx2 where discarded from the linked archive because they were neither referenced nor exported. now that the objects from bf_sfx2 are linked, these symbols are present in bf_svx shared library. althought this is bad as it increases the size of bf_svx a bit, it points to dead code in bf_sfx2 which probably can be removed.
Created attachment 44737 [details] stripped list of symbols pointing to probably dead code
Created attachment 44738 [details] complete list, including symbols from outside binfilter
I will remove the corresponding source files.
Strange, some of the symbols have been still in use. I could remove them except the SfxPrinter and SfxFont stuff.
which platfrom still requires these symbols?
All platforms. BTW: did you have a look at issue 76195 ? :-)
argl! solution is: these makefiles also link against static sfx2 archive :( ./bf_sc/util/makefile.mk: $(BFSFXLIB) ./bf_sch/util/makefile.mk: $(BFSFXLIB) ./bf_sd/util/makefile.mk: $(BFSFXLIB) ./bf_starmath/util/makefile.mk: $(BFSFXLIB) ./bf_sw/util/makefile.mk: $(BFSFXLIB) ./filter/source/bf_offwrp/makefile.mk: $(BFSFXLIB)
ause, please verify if now the util/makefile.mk in binfilter are correct (even after three resyncs)
ok, not a */util/makefile.mk, but filter/source/bf_offwrp/makefile.mk still uses BFSFXLIB. maybe it's also a good idea to remove this variable in solenv/inc/libs.mk
ause: can you verify the correctness of the applied changes in the util makefiles of binfilter?
.