summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-04-15 12:18:34 +0200
committerJan Holesovsky <kendy@collabora.com>2014-04-15 13:10:56 +0200
commit4bc0bd734847160d3eb94d9e49d9b99f2c7c1afc (patch)
tree9479044779ad8167c4b21760fa8de8855c2f1bad /svx
parent048d27bae87f2a39a0fc853e32b474ab58e92dde (diff)
non-desktop: Avoid dbaccess.
Change-Id: I4cabda76917cded05a2978b1a280775b7f77a0de
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/dbtoolsclient.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/svx/source/form/dbtoolsclient.cxx b/svx/source/form/dbtoolsclient.cxx
index 4d6c659e4837..eabf90a42344 100644
--- a/svx/source/form/dbtoolsclient.cxx
+++ b/svx/source/form/dbtoolsclient.cxx
@@ -95,16 +95,12 @@ namespace svxform
revokeClient();
}
-
-
+#if HAVE_FEATURE_DESKTOP
#ifndef DISABLE_DYNLOADING
-
extern "C" { static void SAL_CALL thisModule() {} }
-
#else
-
extern "C" void * createDataAccessToolsFactory();
-
+#endif
#endif
void ODbtoolsClient::registerClient()
@@ -115,6 +111,7 @@ namespace svxform
OSL_ENSURE(NULL == s_hDbtoolsModule, "ODbtoolsClient::registerClient: inconsistence: already have a module!");
OSL_ENSURE(NULL == s_pFactoryCreationFunc, "ODbtoolsClient::registerClient: inconsistence: already have a factory function!");
+#if HAVE_FEATURE_DESKTOP
#ifndef DISABLE_DYNLOADING
const OUString sModuleName( SVLIBRARY( "dbtools" )
);
@@ -141,6 +138,7 @@ namespace svxform
#else
s_pFactoryCreationFunc = createDataAccessToolsFactory;
#endif
+#endif
}
}