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 /hwpfilter | |
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 'hwpfilter')
-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 b72e4040c23d..7542b0dd1ae4 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 7b474bdba72d..a576fef6fc8a 100644 --- a/hwpfilter/source/hpara.cxx +++ b/hwpfilter/source/hpara.cxx @@ -202,8 +202,6 @@ bool HWPPara::Read(HWPFile & hwpf, unsigned char flag) } - - CharShape *HWPPara::GetCharShape(int pos) { if (contain_cshape == 0) @@ -212,8 +210,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 cc7734cec83d..6a67d23818de 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 99dcc7f0ab21..e215716b8670 100644 --- a/hwpfilter/source/list.hxx +++ b/hwpfilter/source/list.hxx @@ -71,8 +71,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 b9a31ba8419c..9f5563a2d70a 100644 --- a/hwpfilter/source/mzstring.cxx +++ b/hwpfilter/source/mzstring.cxx @@ -248,7 +248,6 @@ void MzString::replace(int pos, char ch) } - // Private Methods. |