diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-09-05 17:39:16 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-09-10 17:31:15 +0000 |
commit | d2ddff7b355fac5ba7ec93f866ea52f462dbc6fe (patch) | |
tree | 69e7f3983c9ed1ed7af7a1af762dd2d2809d3e6a /sc/source/core/tool/interpr2.cxx | |
parent | 7dc7d77cd0b142ea3fde93368334d1e4909d94da (diff) |
fdo#62475 removed pointless comments
Conflicts:
sc/source/core/tool/interpr1.cxx
sc/source/core/tool/interpr4.cxx
sc/source/core/tool/token.cxx
Change-Id: I507d747b6c087d089203f7bce6be836da28fc537
Reviewed-on: https://gerrit.libreoffice.org/5824
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sc/source/core/tool/interpr2.cxx')
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index 02564b7bcc6d..961344a887b3 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -44,7 +44,6 @@ #include "tokenarray.hxx" #include "globalnames.hxx" - #include <com/sun/star/sheet/DataPilotFieldFilter.hpp> #include <string.h> @@ -55,9 +54,7 @@ using namespace formula; #define SCdEpsilon 1.0E-7 -//----------------------------------------------------------------------------- // Datum und Zeit -//----------------------------------------------------------------------------- double ScInterpreter::GetDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, bool bStrict, bool bCheckGregorian ) @@ -95,9 +92,7 @@ double ScInterpreter::GetDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int1 } } -//----------------------------------------------------------------------------- // Funktionen -//----------------------------------------------------------------------------- void ScInterpreter::ScGetActDate() { @@ -576,7 +571,6 @@ void ScInterpreter::ScInt() PushDouble(::rtl::math::approxFloor(GetDouble())); } - void ScInterpreter::RoundNumber( rtl_math_RoundingMode eMode ) { sal_uInt8 nParamCount = GetByte(); @@ -912,7 +906,6 @@ void ScInterpreter::ScMIRR() } } - void ScInterpreter::ScISPMT() { // rate ; period ; total_periods ; invest if( MustHaveParamCount( GetByte(), 4 ) ) @@ -929,9 +922,7 @@ void ScInterpreter::ScISPMT() } } - -//----------------------- Finanzfunktionen ------------------------------------ - +// Finanzfunktionen double ScInterpreter::ScGetBw(double fZins, double fZzr, double fRmz, double fZw, double fF) { @@ -1073,7 +1064,6 @@ void ScInterpreter::ScGDA2() PushDouble(nGda2); } - double ScInterpreter::ScInterVDB(double fWert,double fRest,double fDauer, double fDauer1,double fPeriode,double fFaktor) { @@ -1119,7 +1109,6 @@ double ScInterpreter::ScInterVDB(double fWert,double fRest,double fDauer, return fVdb; } - inline double DblMin( double a, double b ) { return (a < b) ? a : b; @@ -1840,7 +1829,6 @@ void ScInterpreter::ScIntersect() } } - void ScInterpreter::ScRangeFunc() { formula::FormulaTokenRef x2 = PopToken(); @@ -1858,7 +1846,6 @@ void ScInterpreter::ScRangeFunc() PushTempToken( xRes.get()); } - void ScInterpreter::ScUnionFunc() { formula::FormulaTokenRef p2nd = PopToken(); @@ -1882,7 +1869,6 @@ void ScInterpreter::ScUnionFunc() ScToken* x1 = static_cast<ScToken*>(p1st.get()); ScToken* x2 = static_cast<ScToken*>(p2nd.get()); - ScTokenRef xRes; // Append to an existing RefList if there is one. if (sv1 == svRefList) @@ -1935,7 +1921,6 @@ void ScInterpreter::ScUnionFunc() PushTempToken( xRes.get()); } - void ScInterpreter::ScCurrent() { FormulaTokenRef xTok( PopToken()); @@ -2235,7 +2220,6 @@ void ScInterpreter::ScBase() } } - void ScInterpreter::ScDecimal() { // Text, Base if ( MustHaveParamCount( GetByte(), 2 ) ) @@ -2292,7 +2276,6 @@ void ScInterpreter::ScDecimal() } } - void ScInterpreter::ScConvert() { // Value, FromUnit, ToUnit if ( MustHaveParamCount( GetByte(), 3 ) ) @@ -2315,7 +2298,6 @@ void ScInterpreter::ScConvert() } } - void ScInterpreter::ScRoman() { // Value [Mode] sal_uInt8 nParamCount = GetByte(); @@ -2387,7 +2369,6 @@ void ScInterpreter::ScRoman() } } - static bool lcl_GetArabicValue( sal_Unicode cChar, sal_uInt16& rnValue, bool& rbIsDec ) { switch( cChar ) @@ -2404,7 +2385,6 @@ static bool lcl_GetArabicValue( sal_Unicode cChar, sal_uInt16& rnValue, bool& rb return true; } - void ScInterpreter::ScArabic() { OUString aRoman( GetString() ); @@ -2462,7 +2442,6 @@ void ScInterpreter::ScArabic() } } - void ScInterpreter::ScHyperLink() { sal_uInt8 nParamCount = GetByte(); @@ -2548,7 +2527,6 @@ void ScInterpreter::ScHyperLink() } } - bool lclConvertMoney( const String& aSearchUnit, double& rfRate, int& rnDec ) { struct ConvertInfo @@ -2647,9 +2625,7 @@ void ScInterpreter::ScEuroConvert() } } - -// BAHTTEXT =================================================================== - +// BAHTTEXT #define UTF8_TH_0 "\340\270\250\340\270\271\340\270\231\340\270\242\340\271\214" #define UTF8_TH_1 "\340\270\253\340\270\231\340\270\266\340\271\210\340\270\207" #define UTF8_TH_2 "\340\270\252\340\270\255\340\270\207" @@ -2673,8 +2649,7 @@ void ScInterpreter::ScEuroConvert() #define UTF8_TH_SATANG "\340\270\252\340\270\225\340\270\262\340\270\207\340\270\204\340\271\214" #define UTF8_TH_MINUS "\340\270\245\340\270\232" -// local functions ------------------------------------------------------------ - +// local functions namespace { inline void lclSplitBlock( double& rfInt, sal_Int32& rnBlock, double fValue, double fSize ) @@ -2764,8 +2739,6 @@ void lclAppendBlock( OStringBuffer& rText, sal_Int32 nValue ) } // namespace -// ---------------------------------------------------------------------------- - void ScInterpreter::ScBahtText() { sal_uInt8 nParamCount = GetByte(); @@ -2835,8 +2808,6 @@ void ScInterpreter::ScBahtText() } } -// ============================================================================ - void ScInterpreter::ScGetPivotData() { sal_uInt8 nParamCount = GetByte(); |