From a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Tue, 9 Feb 2016 18:16:42 +1100 Subject: 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 Reviewed-by: Chris Sherlock --- hwpfilter/source/grammar.cxx | 1 - hwpfilter/source/hpara.cxx | 4 ---- hwpfilter/source/hstyle.cxx | 2 -- hwpfilter/source/lexer.cxx | 1 - hwpfilter/source/list.hxx | 2 -- hwpfilter/source/mzstring.cxx | 1 - 6 files changed, 11 deletions(-) (limited to 'hwpfilter/source') 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. -- cgit