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

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

Change-Id: Id97c9ead810f266239898cc559172b841bc6902f
üst 1bfd9d0d
......@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <config_features.h>
#include <scabstdlg.hxx>
#include <osl/module.hxx>
......@@ -40,7 +38,6 @@ extern "C" ScAbstractDialogFactory* ScCreateDialogFactory();
ScAbstractDialogFactory* ScAbstractDialogFactory::Create()
{
ScFuncPtrCreateDialogFactory fp = nullptr;
#if HAVE_FEATURE_DESKTOP
#ifndef DISABLE_DYNLOADING
static ::osl::Module aDialogLibrary;
......@@ -53,7 +50,6 @@ ScAbstractDialogFactory* ScAbstractDialogFactory::Create()
aDialogLibrary.getFunctionSymbol( "ScCreateDialogFactory" ));
#else
fp = ScCreateDialogFactory;
#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