summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview2.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-14 17:24:47 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-11-24 07:43:02 +0100
commit5166efaa646fdb53345009529ba2005abf9fb6c2 (patch)
tree5f7906730d65e8c1205b15fe7321fd6304eb6085 /sc/source/ui/view/tabview2.cxx
parenta1e7302a65554efdc339f0e0808965a7ab11fe0d (diff)
Turn SC_MOD macro to a function
Change-Id: I5fc11037902bc6200fdaf4749260efe8e658bdce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177070 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/source/ui/view/tabview2.cxx')
-rw-r--r--sc/source/ui/view/tabview2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx
index d5be3d5b5956..7f78e9575e83 100644
--- a/sc/source/ui/view/tabview2.cxx
+++ b/sc/source/ui/view/tabview2.cxx
@@ -832,7 +832,7 @@ void ScTabView::GetAreaMoveEndPosition(SCCOL nMovX, SCROW nMovY, ScFollowMode eM
SCCOL nCurX = aViewData.GetCurX();
SCROW nCurY = aViewData.GetCurY();
- ScModule* pScModule = SC_MOD();
+ ScModule* pScModule = ScModule::get();
bool bLegacyCellSelection = pScModule->GetInputOptions().GetLegacyCellSelection();
bool bIncrementallyExpandToDocLimits(false);
@@ -1640,7 +1640,7 @@ IMPL_STATIC_LINK_NOARG(ScTabView, InstallLOKNotifierHdl, void*, vcl::ILibreOffic
void ScTabView::ErrorMessage(TranslateId pGlobStrId)
{
- if ( SC_MOD()->IsInExecuteDrop() )
+ if (ScModule::get()->IsInExecuteDrop())
{
// #i28468# don't show error message when called from Drag&Drop, silently abort instead
return;