summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-02-25 15:34:13 +0200
committerTor Lillqvist <tml@collabora.com>2019-02-25 20:33:00 +0200
commit056be933ea041939401f945df7f6e0a23e53a616 (patch)
tree244a1360431b178de0fa18aafbbe59f17065b47c /sd
parent895573518e84e319655877baadda1adc54003435 (diff)
Make SdAbstractDialogFactory::Create() do its job also on non-DESKTOP
Change-Id: Ife76336dbdeaadf08f631e3542be73a8568f5368
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/sdabstdlg.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/sdabstdlg.cxx b/sd/source/ui/dlg/sdabstdlg.cxx
index 22f85571f2f4..53ce9a009458 100644
--- a/sd/source/ui/dlg/sdabstdlg.cxx
+++ b/sd/source/ui/dlg/sdabstdlg.cxx
@@ -39,7 +39,6 @@ extern "C" SdAbstractDialogFactory* SdCreateDialogFactory();
SdAbstractDialogFactory* SdAbstractDialogFactory::Create()
{
SdFuncPtrCreateDialogFactory fp = nullptr;
-#if HAVE_FEATURE_DESKTOP
#ifndef DISABLE_DYNLOADING
static ::osl::Module aDialogLibrary;
static const OUString sLibName(SDUI_DLL_NAME);
@@ -49,7 +48,6 @@ SdAbstractDialogFactory* SdAbstractDialogFactory::Create()
#else
fp = SdCreateDialogFactory;
#endif
-#endif
if ( fp )
return fp();
return nullptr;