ndtbl.cxx unused?
David Tardon
dtardon at redhat.com
Mon Oct 22 22:01:36 PDT 2012
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 at 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.
More information about the LibreOffice
mailing list