summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuexpand.cxx
diff options
context:
space:
mode:
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()));