summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-11-05 13:09:46 +0200
committerTor Lillqvist <tml@collabora.com>2018-11-05 13:12:50 +0200
commit729af05280a5b1755f78eee4669e36e287048253 (patch)
tree2d727d2e09137a03ca446258dba9a85d257c735e /sc/source/ui/attrdlg
parent1bfd9d0dd7e66ab7ab6aa888b45dceb6c1b34f7b (diff)
Make ScAbstractDialogFactory::Create() do its job also on non-DESKTOP
Change-Id: Id97c9ead810f266239898cc559172b841bc6902f
Diffstat (limited to 'sc/source/ui/attrdlg')
-rw-r--r--sc/source/ui/attrdlg/scabstdlg.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/attrdlg/scabstdlg.cxx b/sc/source/ui/attrdlg/scabstdlg.cxx
index 76a9cde55131..1b5e0ddde237 100644
--- a/sc/source/ui/attrdlg/scabstdlg.cxx
+++ b/sc/source/ui/attrdlg/scabstdlg.cxx
@@ -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;
@@ -54,7 +51,6 @@ ScAbstractDialogFactory* ScAbstractDialogFactory::Create()
#else
fp = ScCreateDialogFactory;
#endif
-#endif
if ( fp )
return fp();
return nullptr;