diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-04-15 12:18:34 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-04-15 13:10:56 +0200 |
commit | 4bc0bd734847160d3eb94d9e49d9b99f2c7c1afc (patch) | |
tree | 9479044779ad8167c4b21760fa8de8855c2f1bad /sw | |
parent | 048d27bae87f2a39a0fc853e32b474ab58e92dde (diff) |
non-desktop: Avoid dbaccess.
Change-Id: I4cabda76917cded05a2978b1a280775b7f77a0de
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/dbui/swdbtoolsclient.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/uibase/dbui/swdbtoolsclient.cxx b/sw/source/core/uibase/dbui/swdbtoolsclient.cxx index 9fdc6a3ce930..f1bde42dcd4e 100644 --- a/sw/source/core/uibase/dbui/swdbtoolsclient.cxx +++ b/sw/source/core/uibase/dbui/swdbtoolsclient.cxx @@ -84,14 +84,12 @@ SwDbtoolsClient::~SwDbtoolsClient() } } +#if HAVE_FEATURE_DESKTOP #ifndef DISABLE_DYNLOADING - extern "C" { static void SAL_CALL thisModule() {} } - #else - extern "C" void * createDataAccessToolsFactory(); - +#endif #endif void SwDbtoolsClient::registerClient() @@ -102,6 +100,7 @@ void SwDbtoolsClient::registerClient() OSL_ENSURE(NULL == getDbToolsClientModule(), "SwDbtoolsClient::registerClient: inconsistence: already have a module!"); OSL_ENSURE(NULL == getDbToolsClientFactoryFunction(), "SwDbtoolsClient::registerClient: inconsistence: already have a factory function!"); +#if HAVE_FEATURE_DESKTOP #ifndef DISABLE_DYNLOADING const OUString sModuleName(SVLIBRARY("dbtools")); @@ -127,6 +126,7 @@ void SwDbtoolsClient::registerClient() #else getDbToolsClientFactoryFunction() = createDataAccessToolsFactory; #endif +#endif } } |