diff options
author | Eike Rathke <erack@redhat.com> | 2017-05-22 14:06:25 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-05-22 14:06:52 +0200 |
commit | 61af27e2b8041aac756b2f49cc2c31e5578a638b (patch) | |
tree | 33f8229fb86ba71a6f3820130d9049278950185d | |
parent | a7bfced28c526ca603cde3c1ac74ea842320bd7c (diff) |
Make GetStVarParams() parameter bTextAsZero non-optional, tdf#58874 prep
Change-Id: Ia38c5617be71a739f0a3a8fcf28060518e9334d1
-rw-r--r-- | sc/source/core/inc/interpre.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/interpr3.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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); } |