sc/source/ui/app/inputwin.cxx |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

New commits:
commit d355b713fdb70e11df7b22c478033bb931dd331e
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Nov 22 21:13:54 2025 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Sun Nov 23 15:12:52 2025 +0100

    ScModule::get was already fetched
    
    Change-Id: I0e8855b45781ae018a3f126e4d1628936393f7b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194367
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 868135c74809..4937f9c545db 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1747,14 +1747,13 @@ bool ScTextWnd::Command( const CommandEvent& rCEvt )
         }
         else if ( nCommand == CommandEventId::EndExtTextInput )
         {
-            ScModule* mod = ScModule::get();
             if (bFormulaMode)
             {
-                ScInputHandler* pHdl = mod->GetInputHdl();
+                ScInputHandler* pHdl = pScMod->GetInputHdl();
                 if (pHdl)
                     pHdl->InputCommand(rCEvt);
             }
-            mod->InputChanged(m_xEditView.get());
+            pScMod->InputChanged(m_xEditView.get());
         }
         else if ( nCommand == CommandEventId::CursorPos )
         {
@@ -1808,7 +1807,7 @@ bool ScTextWnd::Command( const CommandEvent& rCEvt )
             //pass alt press/release to parent impl
         }
         else
-            ScModule::get()->InputChanged(m_xEditView.get());
+            pScMod->InputChanged(m_xEditView.get());
     }
 
     if ( comphelper::LibreOfficeKit::isActive() && nCommand == 
CommandEventId::CursorPos )

Reply via email to