summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuexpand.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-14 19:28:09 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-11-24 07:43:12 +0100
commit7fce875718687e12df4d7a8b997ca7baea548b91 (patch)
tree0668e4f9658ef87944458d2b3e87a956cebcbf7e /sd/source/ui/func/fuexpand.cxx
parent2ca32d2905aaf42ca3feaae04a55500c708fe8ad (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/func/fuexpand.cxx')
-rw-r--r--sd/source/ui/func/fuexpand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuexpand.cxx b/sd/source/ui/func/fuexpand.cxx
index 17e0e0fed1ad..bd12519a66bb 100644
--- a/sd/source/ui/func/fuexpand.cxx
+++ b/sd/source/ui/func/fuexpand.cxx
@@ -92,7 +92,7 @@ void FuExpandPage::DoExecute( SfxRequest& )
aOutliner.EnableUndo(false);
if (mpDocSh)
- aOutliner.SetRefDevice( SD_MOD()->GetVirtualRefDevice() );
+ aOutliner.SetRefDevice(SdModule::get()->GetVirtualRefDevice());
aOutliner.SetDefTab( mpDoc->GetDefaultTabulator() );
aOutliner.SetStyleSheetPool(static_cast<SfxStyleSheetPool*>(mpDoc->GetStyleSheetPool()));