summaryrefslogtreecommitdiff
path: root/sd/inc/sdmod.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/inc/sdmod.hxx')
-rw-r--r--sd/inc/sdmod.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index b872ebf0913d..156a2ec09cec 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -127,6 +127,8 @@ public:
svtools::ColorConfig& GetColorConfig();
+ static auto get() { return static_cast<SdModule*>(SfxApplication::GetModule(SfxToolsModule::Draw)); }
+
private:
SdOptions* pImpressOptions;
@@ -173,6 +175,4 @@ private:
std::unique_ptr<svtools::ColorConfig> mpColorConfig;
};
-#define SD_MOD() ( static_cast<SdModule*>(SfxApplication::GetModule(SfxToolsModule::Draw)) )
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */