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 /formula | |
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 'formula')
-rw-r--r-- | formula/source/core/api/token.cxx | 3 | ||||
-rw-r--r-- | formula/source/core/inc/core_resource.hxx | 1 | ||||
-rw-r--r-- | formula/source/ui/dlg/ControlHelper.hxx | 1 | ||||
-rw-r--r-- | formula/source/ui/dlg/FormulaHelper.cxx | 5 | ||||
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 5 | ||||
-rw-r--r-- | formula/source/ui/dlg/funcpage.hxx | 1 | ||||
-rw-r--r-- | formula/source/ui/dlg/parawin.cxx | 2 | ||||
-rw-r--r-- | formula/source/ui/dlg/parawin.hxx | 1 | ||||
-rw-r--r-- | formula/source/ui/dlg/structpg.hxx | 3 |
9 files changed, 0 insertions, 22 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index 131cafa180b9..fe7c2bbc755e 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -336,7 +336,6 @@ bool FormulaToken::TextEqual( const FormulaToken& rToken ) const // real implementations of virtual functions - sal_uInt8 FormulaByteToken::GetByte() const { return nByte; } void FormulaByteToken::SetByte( sal_uInt8 n ) { nByte = n; } bool FormulaByteToken::IsInForceArray() const { return bIsInForceArray; } @@ -959,7 +958,6 @@ FormulaToken* FormulaTokenArray::AddStringXML( const OUString& rStr ) } - void FormulaTokenArray::AddRecalcMode( ScRecalcMode nBits ) { //! Order is important. @@ -1660,7 +1658,6 @@ bool FormulaTokenIterator::IsEndOfPath() const } - // real implementations of virtual functions diff --git a/formula/source/core/inc/core_resource.hxx b/formula/source/core/inc/core_resource.hxx index 79ec9f89bf8f..5c9d4991b1dd 100644 --- a/formula/source/core/inc/core_resource.hxx +++ b/formula/source/core/inc/core_resource.hxx @@ -67,7 +67,6 @@ namespace formula }; - } // formula diff --git a/formula/source/ui/dlg/ControlHelper.hxx b/formula/source/ui/dlg/ControlHelper.hxx index 62bcfeb43300..0057a3afde2e 100644 --- a/formula/source/ui/dlg/ControlHelper.hxx +++ b/formula/source/ui/dlg/ControlHelper.hxx @@ -81,7 +81,6 @@ private: }; - // class ArgInput class ArgInput diff --git a/formula/source/ui/dlg/FormulaHelper.cxx b/formula/source/ui/dlg/FormulaHelper.cxx index a1f98e5b228f..7e1e8e838dfb 100644 --- a/formula/source/ui/dlg/FormulaHelper.cxx +++ b/formula/source/ui/dlg/FormulaHelper.cxx @@ -125,7 +125,6 @@ bool FormulaHelper::GetNextFunc( const OUString& rFormula, } - void FormulaHelper::FillArgStrings( const OUString& rFormula, sal_Int32 nFuncPos, sal_uInt16 nArgs, @@ -165,7 +164,6 @@ void FormulaHelper::FillArgStrings( const OUString& rFormula, } - void FormulaHelper::GetArgStrings( ::std::vector< OUString >& _rArgs, const OUString& rFormula, sal_Int32 nFuncPos, @@ -178,7 +176,6 @@ void FormulaHelper::GetArgStrings( ::std::vector< OUString >& _rArgs, } - inline bool IsFormulaText( const CharClass* _pCharClass,const OUString& rStr, sal_Int32 nPos ) { if( _pCharClass->isLetterNumeric( rStr, nPos ) ) @@ -285,7 +282,6 @@ sal_Int32 FormulaHelper::GetFunctionStart( const OUString& rFormula, } - sal_Int32 FormulaHelper::GetFunctionEnd( const OUString& rStr, sal_Int32 nStart ) const { sal_Int32 nStrLen = rStr.getLength(); @@ -343,7 +339,6 @@ sal_Int32 FormulaHelper::GetFunctionEnd( const OUString& rStr, sal_Int32 nStart } - sal_Int32 FormulaHelper::GetArgStart( const OUString& rStr, sal_Int32 nStart, sal_uInt16 nArg ) const { sal_Int32 nStrLen = rStr.getLength(); diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 26fbf81b818c..652ef510fd45 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -1071,13 +1071,9 @@ IMPL_LINK_TYPED( FormulaDlg_Impl, BtnHdl, Button*, pBtn, void ) } - - // Functions for 1. Page - - // Handler for Listboxes IMPL_LINK_NOARG_TYPED(FormulaDlg_Impl, DblClkHdl, FuncPage&, void) @@ -1111,7 +1107,6 @@ IMPL_LINK_NOARG_TYPED(FormulaDlg_Impl, DblClkHdl, FuncPage&, void) } - // Functions for right Page void FormulaDlg_Impl::SetData(sal_Int32 nFStart, sal_Int32 nNextFStart, sal_Int32 nNextFEnd, sal_Int32& PrivStart, sal_Int32& PrivEnd) diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index 05ab42c6d4b6..c6eaea1f818a 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -54,7 +54,6 @@ public: }; - typedef const IFunctionDescription* TFunctionDesc; class FuncPage : public TabPage diff --git a/formula/source/ui/dlg/parawin.cxx b/formula/source/ui/dlg/parawin.cxx index e8b89bb55ae9..911684c1d750 100644 --- a/formula/source/ui/dlg/parawin.cxx +++ b/formula/source/ui/dlg/parawin.cxx @@ -598,7 +598,6 @@ IMPL_LINK_TYPED( ParaWin, GetFxFocusHdl, ArgInput&, rPtr, void ) } - IMPL_LINK_TYPED( ParaWin, GetEdFocusHdl, ArgInput&, rPtr, void ) { sal_uInt16 nOffset = GetSliderPos(); @@ -660,7 +659,6 @@ IMPL_LINK_TYPED( ParaWin, ModifyHdl, ArgInput&, rPtr, void ) } - } // formula /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/formula/source/ui/dlg/parawin.hxx b/formula/source/ui/dlg/parawin.hxx index 4c6ec6e38bb2..f21eef3c9eef 100644 --- a/formula/source/ui/dlg/parawin.hxx +++ b/formula/source/ui/dlg/parawin.hxx @@ -152,7 +152,6 @@ public: }; - } // formula #endif // INCLUDED_FORMULA_SOURCE_UI_DLG_PARAWIN_HXX diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index c2a66906179e..e88ec26a4010 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -31,8 +31,6 @@ #include "formula/omoduleclient.hxx" - - namespace formula { @@ -65,7 +63,6 @@ public: }; - class StructPage : public TabPage { private: |