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/func/fuexpand.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/func/fuexpand.cxx')
-rw-r--r-- | sd/source/ui/func/fuexpand.cxx | 2 |
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())); |