[Libreoffice-commits] core.git: sc/source
Luboš Luňák (via logerrit)
logerrit at kemper.freedesktop.org
Sat Mar 23 09:11:28 UTC 2019
sc/source/core/inc/interpre.hxx | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
New commits:
commit 62cd0770b8e36d4f988d9bce37019a22f13def4e
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Thu Mar 21 13:28:54 2019 +0100
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Sat Mar 23 10:11:03 2019 +0100
formatting fixes
Change-Id: Ie8ceead5cba72abf32e57e214e677dbf478941d4
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
More information about the Libreoffice-commits
mailing list