summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-03-21 13:28:54 +0100
committerLuboš Luňák <l.lunak@collabora.com>2019-03-23 10:11:03 +0100
commit62cd0770b8e36d4f988d9bce37019a22f13def4e (patch)
tree133542c8cfe16f315e580a64d27ef6bee1b5f1bb /sc
parent3448ffae2f2a7a0cdef6626f747b6b95b87f596b (diff)
formatting fixes
Change-Id: Ie8ceead5cba72abf32e57e214e677dbf478941d4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/inc/interpre.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 4f76af346d63..1b1344164966 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -206,8 +206,7 @@ private:
ScFormulaCell* pMyFormulaCell; // the cell of this formula expression
SvNumberFormatter* pFormatter;
- const formula::FormulaToken*
- pCur; // current token
+ const formula::FormulaToken* pCur; // current token
ScTokenStack* pStackObj; // contains the stacks
const formula::FormulaToken ** pStack; // the current stack
FormulaError nGlobalError; // global (local to this formula expression) error
@@ -248,12 +247,12 @@ private:
bool IsTableOpInRange( const ScRange& );
sal_uInt32 GetCellNumberFormat( const ScAddress& rPos, ScRefCellValue& rCell );
double ConvertStringToValue( const OUString& );
- public:
+public:
static double ScGetGCD(double fx, double fy);
/** For matrix back calls into the current interpreter.
Uses rError instead of nGlobalError and rCurFmtType instead of nCurFmtType. */
double ConvertStringToValue( const OUString&, FormulaError& rError, SvNumFormatType& rCurFmtType );
- private:
+private:
double GetCellValue( const ScAddress&, ScRefCellValue& rCell );
double GetCellValueOrZero( const ScAddress&, ScRefCellValue& rCell );
double GetValueCellValue( const ScAddress&, double fOrig );
@@ -864,14 +863,14 @@ private:
static double taylor(const double* pPolynom, sal_uInt16 nMax, double x);
static double gauss(double x);
- public:
+public:
static SC_DLLPUBLIC double phi(double x);
static SC_DLLPUBLIC double integralPhi(double x);
static SC_DLLPUBLIC double gaussinv(double x);
static SC_DLLPUBLIC double GetPercentile( ::std::vector<double> & rArray, double fPercentile );
- private:
+private:
double GetBetaDist(double x, double alpha, double beta); //cumulative distribution function
double GetBetaDistPDF(double fX, double fA, double fB); //probability density function)
double GetChiDist(double fChi, double fDF); // for LEGACY.CHIDIST, returns right tail