From 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Sat, 22 Feb 2014 21:20:15 +0100 Subject: Remove unneccessary comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- scaddins/source/analysis/analysishelper.cxx | 28 ++++++++++++++-------------- scaddins/source/analysis/bessel.cxx | 4 ++-- scaddins/source/analysis/financial.cxx | 2 +- scaddins/source/pricing/black_scholes.cxx | 6 +++--- 4 files changed, 20 insertions(+), 20 deletions(-) (limited to 'scaddins') diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 0c91ab8a5ba2..6e8643a4b1cd 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -1262,11 +1262,11 @@ double GetZw( double fZins, double fZzr, double fRmz, double fBw, sal_Int32 nF ) } -//----------------------------------------------------------------------------- + // financial functions COUP*** -//------- + // COUPPCD: find last coupon date before settlement (can be equal to settlement) static void lcl_GetCouppcd( ScaDate& rDate, const ScaDate& rSettle, const ScaDate& rMat, sal_Int32 nFreq ) throw( lang::IllegalArgumentException ) @@ -1291,7 +1291,7 @@ double GetCouppcd( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_I } -//------- + // COUPNCD: find first coupon date after settlement (is never equal to settlement) static void lcl_GetCoupncd( ScaDate& rDate, const ScaDate& rSettle, const ScaDate& rMat, sal_Int32 nFreq ) throw( lang::IllegalArgumentException ) @@ -1316,7 +1316,7 @@ double GetCoupncd( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_I } -//------- + // COUPDAYBS: get day count: coupon date before settlement <-> settlement double GetCoupdaybs( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase ) throw( uno::RuntimeException, lang::IllegalArgumentException ) @@ -1331,7 +1331,7 @@ double GetCoupdaybs( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal } -//------- + // COUPDAYSNC: get day count: settlement <-> coupon date after settlement double GetCoupdaysnc( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase ) throw( uno::RuntimeException, lang::IllegalArgumentException ) @@ -1350,7 +1350,7 @@ double GetCoupdaysnc( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sa } -//------- + // COUPDAYS: get day count: coupon date before settlement <-> coupon date after settlement double GetCoupdays( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase ) throw( uno::RuntimeException, lang::IllegalArgumentException ) @@ -1370,7 +1370,7 @@ double GetCoupdays( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_ } -//------- + // COUPNUM: get count of coupon dates double GetCoupnum( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase ) throw( uno::RuntimeException, lang::IllegalArgumentException ) @@ -1608,7 +1608,7 @@ void SortedIndividualInt32List::InsertHolidayList( -//----------------------------------------------------------------------------- + void ScaDoubleList::Append( const uno::Sequence< uno::Sequence< double > >& rValueSeq ) throw( uno::RuntimeException, lang::IllegalArgumentException ) @@ -1698,7 +1698,7 @@ sal_Bool ScaDoubleList::CheckInsert( double ) const throw( uno::RuntimeException -//----------------------------------------------------------------------------- + sal_Bool ScaDoubleListGT0::CheckInsert( double fValue ) const throw( uno::RuntimeException, lang::IllegalArgumentException ) { @@ -1709,7 +1709,7 @@ sal_Bool ScaDoubleListGT0::CheckInsert( double fValue ) const throw( uno::Runtim -//----------------------------------------------------------------------------- + sal_Bool ScaDoubleListGE0::CheckInsert( double fValue ) const throw( uno::RuntimeException, lang::IllegalArgumentException ) { @@ -1720,7 +1720,7 @@ sal_Bool ScaDoubleListGE0::CheckInsert( double fValue ) const throw( uno::Runtim -//----------------------------------------------------------------------------- + Complex::Complex( const OUString& rStr ) throw( uno::RuntimeException, lang::IllegalArgumentException ) { @@ -2673,7 +2673,7 @@ double ConvertDataList::Convert( double fVal, const OUString& rFrom, const OUStr -//----------------------------------------------------------------------------- + ScaDate::ScaDate() : nOrigDay( 1 ), @@ -2872,7 +2872,7 @@ sal_Bool ScaDate::operator<( const ScaDate& rCmp ) const -//----------------------------------------------------------------------------- + ScaAnyConverter::ScaAnyConverter( const uno::Reference< uno::XComponentContext >& xContext ) : bHasValidFormat( sal_False ) @@ -3009,7 +3009,7 @@ sal_Int32 ScaAnyConverter::getInt32( -//----------------------------------------------------------------------------- + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scaddins/source/analysis/bessel.cxx b/scaddins/source/analysis/bessel.cxx index b3b05926b5d4..9aa720e77a07 100644 --- a/scaddins/source/analysis/bessel.cxx +++ b/scaddins/source/analysis/bessel.cxx @@ -57,7 +57,7 @@ const double f_2_DIV_PI = 2.0 / f_PI; alpha_k=1 for k=N and alpha_k=0 otherwise */ -// ---------------------------------------------------------------------------- + double BesselJ( double x, sal_Int32 N ) throw (IllegalArgumentException, NoConvergenceException) @@ -171,7 +171,7 @@ double BesselJ( double x, sal_Int32 N ) throw (IllegalArgumentException, NoConve No asymptotic approximation used, see issue 43040. */ -// ---------------------------------------------------------------------------- + double BesselI( double x, sal_Int32 n ) throw( IllegalArgumentException, NoConvergenceException ) { diff --git a/scaddins/source/analysis/financial.cxx b/scaddins/source/analysis/financial.cxx index 0378222b24b1..d518667a3dba 100644 --- a/scaddins/source/analysis/financial.cxx +++ b/scaddins/source/analysis/financial.cxx @@ -519,7 +519,7 @@ static double lcl_sca_XirrResult_Deriv1( const ScaDoubleList& rValues, const Sca #undef D_ -// ---------------------------------------------------------------------------- + // XIRR calculation double SAL_CALL AnalysisAddIn::getXirr( diff --git a/scaddins/source/pricing/black_scholes.cxx b/scaddins/source/pricing/black_scholes.cxx index 8086938cb547..cf5087cf6a3b 100644 --- a/scaddins/source/pricing/black_scholes.cxx +++ b/scaddins/source/pricing/black_scholes.cxx @@ -85,7 +85,7 @@ namespace bs { // helper functions -// ---------------- + inline double sqr(double x) { return x*x; } @@ -540,9 +540,9 @@ double vanilla_trunc(double S, double vol, double rd, double rf, } // namespace internal -// --------------------------------------------------------------------- + // path dependent options -// --------------------------------------------------------------------- + namespace internal { -- cgit