summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-02-25 15:34:13 +0200
committerTor Lillqvist <tml@collabora.com>2019-09-20 11:45:19 +0200
commit67bac7a8469145c522e7c52a16123e55aa9d36ae (patch)
treed19d681c115780a60ff2eefc18888452e23f068d
parentf3601d420f90c1f7af0c701d796d2e2988933d4c (diff)
Make SdAbstractDialogFactory::Create() do its job also on non-DESKTOP
Change-Id: Ife76336dbdeaadf08f631e3542be73a8568f5368 (cherry picked from commit 056be933ea041939401f945df7f6e0a23e53a616) Reviewed-on: https://gerrit.libreoffice.org/79170 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
-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;