diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-11 16:56:34 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-12 09:53:28 +0200 |
commit | 7e9ac5952711400ad856b3328c5cc00c05cec6f2 (patch) | |
tree | 31bb3868462e2b585a2ddf8ef893302a04f9730a /vcl/source/window/abstdlg.cxx | |
parent | 064c628842161c88814ed175bf44c4eda5061f37 (diff) |
We don't need CreateDialogFactory() for non-DESKTOP, I think
Change-Id: Iced798f51fc2a46ede0c8e67d63941eca69ad208
Diffstat (limited to 'vcl/source/window/abstdlg.cxx')
-rw-r--r-- | vcl/source/window/abstdlg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/abstdlg.cxx b/vcl/source/window/abstdlg.cxx index 09f357d30eaa..7cb7cdcd5cdc 100644 --- a/vcl/source/window/abstdlg.cxx +++ b/vcl/source/window/abstdlg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> #include <rtl/ustring.hxx> #include <osl/module.hxx> @@ -33,6 +34,7 @@ extern "C" VclAbstractDialogFactory* CreateDialogFactory(); VclAbstractDialogFactory* VclAbstractDialogFactory::Create() { FuncPtrCreateDialogFactory fp = 0; +#if HAVE_FEATURE_DESKTOP #ifndef DISABLE_DYNLOADING static ::osl::Module aDialogLibrary; if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, OUString( CUI_DLL_NAME ), @@ -42,6 +44,7 @@ VclAbstractDialogFactory* VclAbstractDialogFactory::Create() #else fp = CreateDialogFactory; #endif +#endif if ( fp ) return fp(); return 0; |