diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-12 22:06:25 -0400 |
commit | 8dcf22abfc6a07ececcef6bb830fdea825d416ec (patch) | |
tree | 7e0b3686991aef9689218ed309f462987f36e273 /cpputools | |
parent | b91e39cf1b2d0c4201993d768a1b2c686eeff0de (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
(cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89)
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/source/sp2bv/sp2bv.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpputools/source/sp2bv/sp2bv.cxx b/cpputools/source/sp2bv/sp2bv.cxx index 6632c2dede9a..bfce879fecae 100644 --- a/cpputools/source/sp2bv/sp2bv.cxx +++ b/cpputools/source/sp2bv/sp2bv.cxx @@ -44,8 +44,6 @@ static bool hasOption(char const * szOption, int argc, char** argv); " Display help information.\n" - - int main(int argc, char **argv) { if( hasOption("--help",argc, argv) || hasOption("-h", argc, argv)) @@ -108,7 +106,6 @@ int main(int argc, char **argv) } - static bool hasOption(char const * szOption, int argc, char** argv) { bool retVal = false; @@ -124,7 +121,4 @@ static bool hasOption(char const * szOption, int argc, char** argv) } - - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |