Kaydet (Commit) c600817e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Make SdAbstractDialogFactory::Create() do its job also on non-DESKTOP

Change-Id: Ife76336dbdeaadf08f631e3542be73a8568f5368
üst 287e8aa2
......@@ -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);
......@@ -48,7 +47,6 @@ SdAbstractDialogFactory* SdAbstractDialogFactory::Create()
aDialogLibrary.getFunctionSymbol( "SdCreateDialogFactory" ));
#else
fp = SdCreateDialogFactory;
#endif
#endif
if ( fp )
return fp();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment