sc/inc/compiler.hxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 033e98dbe6aafd6719eb83ea4d2fc68110e195c9
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Thu Sep 1 14:49:44 2022 +0200
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Thu Sep 1 18:01:51 2022 +0200

    Related: tdf#142293 Have ScCompiler::GetOpCodeMap() overwrite
    
    ... FormulaCompiler::GetOpCodeMap() forwarding to
    GetFinalOpCodeMap() as that is what we want from ScCompiler (and
    always had), eliminating the now possible temporariness of
    FormulaCompiler::GetOpCodeMap().
    
    Change-Id: Ia87fb0e911e4f7995bfb5df07dcd1fde3713d006
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139205
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins

diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 965232485049..b7896c26c0e3 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -439,6 +439,11 @@ public:
 
     static const Convention* GetRefConvention( 
formula::FormulaGrammar::AddressConvention eConv );
 
+    /** Overwrite FormulaCompiler::GetOpCodeMap() forwarding to
+        GetFinalOpCodeMap().
+     */
+    OpCodeMapPtr    GetOpCodeMap( const sal_Int32 nLanguage ) const { return 
GetFinalOpCodeMap(nLanguage); }
+
     /// Set symbol map if not empty.
     void            SetFormulaLanguage( const OpCodeMapPtr & xMap );
 

Reply via email to