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 /scaddins | |
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 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 7 | ||||
-rw-r--r-- | scaddins/source/analysis/analysishelper.hxx | 5 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.hxx | 3 |
3 files changed, 0 insertions, 15 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 5d5515863e35..a45beacf8773 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -1377,7 +1377,6 @@ double GetCoupnum( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_I } - class AnalysisRscStrArrLoader : public Resource { private: @@ -1561,7 +1560,6 @@ void SortedIndividualInt32List::InsertHolidayList( } - void ScaDoubleList::Append( const uno::Sequence< uno::Sequence< double > >& rValueSeq ) throw( uno::RuntimeException, lang::IllegalArgumentException ) { @@ -1645,7 +1643,6 @@ bool ScaDoubleList::CheckInsert( double ) const throw( uno::RuntimeException, la } - bool ScaDoubleListGT0::CheckInsert( double fValue ) const throw( uno::RuntimeException, lang::IllegalArgumentException ) { if( fValue < 0.0 ) @@ -1654,7 +1651,6 @@ bool ScaDoubleListGT0::CheckInsert( double fValue ) const throw( uno::RuntimeExc } - bool ScaDoubleListGE0::CheckInsert( double fValue ) const throw( uno::RuntimeException, lang::IllegalArgumentException ) { if( fValue < 0.0 ) @@ -1663,7 +1659,6 @@ bool ScaDoubleListGE0::CheckInsert( double fValue ) const throw( uno::RuntimeExc } - Complex::Complex( const OUString& rStr ) throw( uno::RuntimeException, lang::IllegalArgumentException ) { if( !ParseString( rStr, *this ) ) @@ -2605,7 +2600,6 @@ double ConvertDataList::Convert( double fVal, const OUString& rFrom, const OUStr } - ScaDate::ScaDate() : nOrigDay( 1 ), nDay( 1 ), @@ -2802,7 +2796,6 @@ bool ScaDate::operator<( const ScaDate& rCmp ) const } - ScaAnyConverter::ScaAnyConverter( const uno::Reference< uno::XComponentContext >& xContext ) : nDefaultFormat(0) , bHasValidFormat(false) diff --git a/scaddins/source/analysis/analysishelper.hxx b/scaddins/source/analysis/analysishelper.hxx index 5f377c8ead5b..ade23104c6d9 100644 --- a/scaddins/source/analysis/analysishelper.hxx +++ b/scaddins/source/analysis/analysishelper.hxx @@ -143,8 +143,6 @@ double GetCoupdays( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int sal_Int32 nBase ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException ); - - enum FDCategory { FDCat_AddIn, @@ -239,7 +237,6 @@ public: }; - /// sorted list with unique sal_Int32 values class SortedIndividualInt32List { @@ -677,8 +674,6 @@ inline ConvertDataLinear::ConvertDataLinear( const sal_Char* p, double fC, doubl } - - /// Helper class for date calculation for various financial functions class ScaDate { diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx index 685a7f7e2db6..4c2f3a4a0a8c 100644 --- a/scaddins/source/pricing/pricing.hxx +++ b/scaddins/source/pricing/pricing.hxx @@ -44,7 +44,6 @@ #define RETURN_FINITE(d) if( ::rtl::math::isFinite( d ) ) return d; else throw css::lang::IllegalArgumentException() - namespace sca { namespace pricing { @@ -183,8 +182,6 @@ struct FindScaFuncData } // namespace sca - - css::uno::Reference< css::uno::XInterface > SAL_CALL PricingFunctionAddIn_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& ); |