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 15:55:57 +0200
commitc600817e8349db7957f517365f65f25e4e042439 (patch)
tree2c47624cf387e95a8929454af4defa036dadf340 /sd
parent287e8aa212212e33445bb63e9a89822cb75ddc61 (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 57dd6e3c53e4..4b56b82c61fd 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;