diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /hwpfilter/source | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (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
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'hwpfilter/source')
-rw-r--r-- | hwpfilter/source/grammar.cxx | 1 | ||||
-rw-r--r-- | hwpfilter/source/hpara.cxx | 4 | ||||
-rw-r--r-- | hwpfilter/source/hstyle.cxx | 2 | ||||
-rw-r--r-- | hwpfilter/source/lexer.cxx | 1 | ||||
-rw-r--r-- | hwpfilter/source/list.hxx | 2 | ||||
-rw-r--r-- | hwpfilter/source/mzstring.cxx | 1 |
6 files changed, 0 insertions, 11 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx index 6a6713612aff..14751da6fbf7 100644 --- a/hwpfilter/source/grammar.cxx +++ b/hwpfilter/source/grammar.cxx @@ -65,7 +65,6 @@ typedef union { #endif - #define YYFINAL 102 #define YYFLAG -32768 #define YYNTBASE 43 diff --git a/hwpfilter/source/hpara.cxx b/hwpfilter/source/hpara.cxx index 9bbd9a3da8d4..b193147f8b38 100644 --- a/hwpfilter/source/hpara.cxx +++ b/hwpfilter/source/hpara.cxx @@ -200,8 +200,6 @@ bool HWPPara::Read(HWPFile & hwpf, unsigned char flag) } - - CharShape *HWPPara::GetCharShape(int pos) { if (contain_cshape == 0) @@ -210,8 +208,6 @@ CharShape *HWPPara::GetCharShape(int pos) } - - HBox *HWPPara::readHBox(HWPFile & hwpf) { hchar hh; diff --git a/hwpfilter/source/hstyle.cxx b/hwpfilter/source/hstyle.cxx index f2ba4b28d808..6c29a500d2b5 100644 --- a/hwpfilter/source/hstyle.cxx +++ b/hwpfilter/source/hstyle.cxx @@ -53,8 +53,6 @@ HWPStyle::~HWPStyle() } - - char *HWPStyle::GetName(int n) const { if (!(n >= 0 && n < nstyles)) diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx index a3e6baee5ed4..e7518ab38c25 100644 --- a/hwpfilter/source/lexer.cxx +++ b/hwpfilter/source/lexer.cxx @@ -2045,7 +2045,6 @@ char msg[]; } - /* Internal utility routines. */ #ifndef yytext_ptr diff --git a/hwpfilter/source/list.hxx b/hwpfilter/source/list.hxx index 11dae5fa39ec..89fe528d1c59 100644 --- a/hwpfilter/source/list.hxx +++ b/hwpfilter/source/list.hxx @@ -64,8 +64,6 @@ public: }; - - // IMPLEMENTATION // (the implementation of template classes must be accessible to using diff --git a/hwpfilter/source/mzstring.cxx b/hwpfilter/source/mzstring.cxx index 31ca947b6dc3..f5e7b9283a21 100644 --- a/hwpfilter/source/mzstring.cxx +++ b/hwpfilter/source/mzstring.cxx @@ -225,7 +225,6 @@ void MzString::replace(int pos, char ch) } - // Private Methods. |