https://bugs.freedesktop.org/show_bug.cgi?id=62475
Priority: medium
Bug ID: 62475
Assignee: [email protected]
Summary: Remove pointless comments and ASCII art
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: unspecified
Component: Libreoffice
Product: LibreOffice
Created attachment 76683
--> https://bugs.freedesktop.org/attachment.cgi?id=76683&action=edit
example script, to be extended
There are many pointless ASCII art graphics in the source which a not necessary
with modern editors. See the attached Perl script for some examples.
-- quote from Tor:
Suggested Easy Hack: Replace all instances of // -------- comments
including surrounding newlines with a single newline.
Another Easy Hack, slightly harder to automate: Remove all the
pointless comments that just tell the class name right before the
declaration of that class.
-- end quote
I did some cleanups some time ago. You need to check if some of the existing
regex apply to the source (again) and apply it on yet unmatched lines.
To use the script:
find pathtolibo -name *.[hc]xx | xargs perl boxesEmpty.pl
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs