[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Mon May 22 12:07:15 UTC 2017


 sc/source/core/inc/interpre.hxx  |    2 +-
 sc/source/core/tool/interpr3.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 61af27e2b8041aac756b2f49cc2c31e5578a638b
Author: Eike Rathke <erack at redhat.com>
Date:   Mon May 22 14:06:25 2017 +0200

    Make GetStVarParams() parameter bTextAsZero non-optional, tdf#58874 prep
    
    Change-Id: Ia38c5617be71a739f0a3a8fcf28060518e9334d1

diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 314be921d69c..6936cb210394 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -582,7 +582,7 @@ void ScProduct();
 void ScAverage( bool bTextAsZero = false );
 void ScCount();
 void ScCount2();
-void GetStVarParams( double& rVal, double& rValCount, bool bTextAsZero = false );
+void GetStVarParams( double& rVal, double& rValCount, bool bTextAsZero );
 void ScVar( bool bTextAsZero = false );
 void ScVarP( bool bTextAsZero = false );
 void ScStDev( bool bTextAsZero = false );
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index ea3145b3a5c0..b725eeb2631a 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -4091,7 +4091,7 @@ void ScInterpreter::ScDevSq()
 {
     double nVal;
     double nValCount;
-    GetStVarParams(nVal, nValCount);
+    GetStVarParams(nVal, nValCount, false /*bTextAsZero*/);
     PushDouble(nVal);
 }
 


More information about the Libreoffice-commits mailing list