[Libreoffice] Include Guards (easy 6)

callahan at xmission.com callahan at xmission.com
Sun Oct 3 22:20:04 PDT 2010


This is in response to Easy Task 6, removal of various include guards  
throughout the source code.

I have created and included a small python script to identify and  
remove these include guards.  Here is the basics on how to use it:

python fixguard.py somefile.cxx

Or recursively:

# Go to the clone/writer directory.
find . -name '*.cxx' -exec grep python $HOME/fixguard.py {} \;
git diff
# verify that the diffs are sane and check them in.

   Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixguard.py
Type: text/x-python
Size: 258 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101003/15c1e959/attachment.py>


More information about the LibreOffice mailing list