From 5061ae835b67439da4b06704aab455cad99cc48f Mon Sep 17 00:00:00 2001 From: Don Lewis Date: Fri, 8 May 2015 16:04:20 +0000 Subject: Resurrect the part of patch-i114430 that was not accepted upstream. Submitted by: pfg Approved by: mat (mentor, implicit) MFH: 2015Q2 --- editors/openoffice-devel/files/patch-i114430 | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 editors/openoffice-devel/files/patch-i114430 (limited to 'editors/openoffice-devel/files') diff --git a/editors/openoffice-devel/files/patch-i114430 b/editors/openoffice-devel/files/patch-i114430 new file mode 100644 index 000000000000..01d8a2734019 --- /dev/null +++ b/editors/openoffice-devel/files/patch-i114430 @@ -0,0 +1,31 @@ +Index: sc/source/core/tool/interpr5.cxx +=================================================================== +--- sc/source/core/tool/interpr5.cxx (revision 1678278) ++++ sc/source/core/tool/interpr5.cxx (working copy) +@@ -1611,7 +1611,7 @@ + if (bFlag) + { for ( SCSIZE i = 0; i < nCount; i++ ) + if (pMat->IsValue(i)) +- pResMat->PutDouble(pow(fVal,pMat->GetDouble(i)), i); ++ pResMat->PutDouble(::rtl::math::powr(fVal,pMat->GetDouble(i)), i); + else + pResMat->PutString(ScGlobal::GetRscString(STR_NO_VALUE), i); + } +@@ -1618,7 +1618,7 @@ + else + { for ( SCSIZE i = 0; i < nCount; i++ ) + if (pMat->IsValue(i)) +- pResMat->PutDouble(pow(pMat->GetDouble(i),fVal), i); ++ pResMat->PutDouble(::rtl::math::powr(pMat->GetDouble(i),fVal), i); + else + pResMat->PutString(ScGlobal::GetRscString(STR_NO_VALUE), i); + } +@@ -1628,7 +1628,7 @@ + PushIllegalArgument(); + } + else +- PushDouble(pow(fVal1,fVal2)); ++ PushDouble(::rtl::math::powr(fVal1,fVal2)); + } + + void ScInterpreter::ScSumProduct() -- cgit v1.2.3