diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2016-10-14 17:34:47 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-10-24 12:08:33 +0000 |
commit | 536258758a9192ce8985d5055edac600568120fc (patch) | |
tree | 09e142970d5b1c2e5791ff8f5a1b175e297cb200 /formula | |
parent | 602274c77fa8134ca097f4d60b9fb75cea0eff78 (diff) |
tdf#103186, make LOGINV ODFF1.2 compliant.
(Also retain Excel-interoperability and backward compatibility with Calc.)
Change-Id: Ibbe7224eabfb776cf6e7ecfeabae6d188178f4ed
Reviewed-on: https://gerrit.libreoffice.org/29885
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/token.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index 7c85b15552e7..409c4179c704 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -1069,6 +1069,7 @@ inline bool MissingConventionODF::isRewriteNeeded( OpCode eOp ) const case ocGammaDist: case ocPoissonDist: case ocAddress: + case ocLogInv: case ocLogNormDist: case ocNormDist: return true; @@ -1113,6 +1114,7 @@ inline bool MissingConventionOOXML::isRewriteNeeded( OpCode eOp ) case ocFDist_LT: case ocPoissonDist: case ocNormDist: + case ocLogInv: case ocLogNormDist: case ocHypGeomDist: @@ -1171,6 +1173,7 @@ void FormulaMissingContext::AddMoreArgs( FormulaTokenArray *pNewArr, const Missi pNewArr->AddDouble( 1.0 ); // 4th, Cumulative=true() } break; + case ocLogInv: case ocLogNormDist: if ( mnCurArg == 0 ) { @@ -1236,6 +1239,7 @@ void FormulaMissingContext::AddMoreArgs( FormulaTokenArray *pNewArr, const Missi } break; + case ocLogInv: case ocLogNormDist: if ( mnCurArg == 0 ) { |