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


Hi,

On Tue, Oct 23, 2012 at 03:43:10AM +0200, Philipp Weissenbacher wrote:
Hi all,
        I'm translating a few files again and I've noticed that a 'git
grep ndtbl.cxx' gives the following

[philipp@styx libo]$ git grep ndtbl.cxx
sw/source/core/inc/tblrwcl.hxx:// ( die Implementierung steht im ndtbl.cxx)

which is a comment.

Thus, is sw/source/core/docnode/ndtbl.cxx unused?

It is used; see sw/Library_sw.mk . This location was not found by git
grep because the source files are listed without extension there.

If a source file really contained only unused functions, it would likely
have been found (and removed) with the help of callcatcher. Of course,
that would not help if the source were not compiled at all (and we found
such files on several occasions in the past)... I wonder if it would be
possible to construct a (more or less) complete list of used source tree
files from make dependencies; something that could be scripted and run
periodically to ensure we are not accumulating unused cruft...

D.

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.