summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-01-03 14:08:55 +0100
committerJan Holesovsky <kendy@collabora.com>2018-01-05 09:51:23 +0100
commit028fd03cdf4d3d8072289a5c4d476435c18f90d0 (patch)
treeee455db401fc6a9cfca565c9496bfe49dfa3d780 /sd/source
parentf1d1854ffe2c1bc456855573b3ed4ad9852f4571 (diff)
lokdialog: Allow language switching in SfxModule(s).
Change-Id: Icef0b3610c3bfa858cdd61de6ef3f5edc1e3c96b Reviewed-on: https://gerrit.libreoffice.org/47385 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/app/sdmod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx
index 61dd5e6b10a4..9d9eaa53aecb 100644
--- a/sd/source/ui/app/sdmod.cxx
+++ b/sd/source/ui/app/sdmod.cxx
@@ -65,7 +65,7 @@ void SdModule::InitInterface_Impl()
// Ctor
SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 )
-: SfxModule( Translate::Create("sd"), {pFact1, pFact2} ),
+: SfxModule("sd", {pFact1, pFact2}),
pTransferClip(nullptr),
pTransferDrag(nullptr),
pTransferSelection(nullptr),