diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-11-27 15:19:06 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-11-28 08:49:50 +0100 |
commit | b8ea39bc24850fb958f5f1bb8d46c41a7b7be11e (patch) | |
tree | 4ed5fd1ace6a986702d4646a3f4be728afa8262d /sc/inc/conditio.hxx | |
parent | fc5bac70e0f272c6abc7a4e06e02ab8eac7ce54e (diff) |
Factor out a code snippet copy-pasted four times
Change-Id: I29fb16ea51873b396c4f884f6acf454ce2b229e6
Reviewed-on: https://gerrit.libreoffice.org/45363
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sc/inc/conditio.hxx')
-rw-r--r-- | sc/inc/conditio.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index dfd8d10bc630..dede939a9185 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -318,6 +318,11 @@ class SC_DLLPUBLIC ScConditionEntry : public ScFormatEntry bool bFirstRun; std::unique_ptr<ScFormulaListener> mpListener; + void SimplifyCompiledFormula( ScTokenArray*& rFormula, + double& rVal, + bool& rIsStr, + OUString& rStrVal ); + void MakeCells( const ScAddress& rPos ); void Compile( const OUString& rExpr1, const OUString& rExpr2, const OUString& rExprNmsp1, const OUString& rExprNmsp2, |