diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-14 19:28:09 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-24 07:43:12 +0100 |
commit | 7fce875718687e12df4d7a8b997ca7baea548b91 (patch) | |
tree | 0668e4f9658ef87944458d2b3e87a956cebcbf7e /sd/source/ui/view/drviews4.cxx | |
parent | 2ca32d2905aaf42ca3feaae04a55500c708fe8ad (diff) |
Turn SD_MOD macro to a function
Change-Id: I1303e9d48e92ac00eee12af9ed299cdaad2ce009
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177072
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/source/ui/view/drviews4.cxx')
-rw-r--r-- | sd/source/ui/view/drviews4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index 3611af691081..6652f8d64e9c 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -558,7 +558,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin) } } else if( rCEvt.GetCommand() == CommandEventId::ContextMenu && !bNativeShow && - pWin != nullptr && !mpDrawView->IsAction() && !SD_MOD()->GetWaterCan() ) + pWin != nullptr && !mpDrawView->IsAction() && !SdModule::get()->GetWaterCan() ) { OUString aPopupId; // Resource name for popup menu |