summaryrefslogtreecommitdiff
path: root/connectivity
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 /connectivity
parent048d27bae87f2a39a0fc853e32b474ab58e92dde (diff)
non-desktop: Avoid dbaccess.
Change-Id: I4cabda76917cded05a2978b1a280775b7f77a0de
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/simpledbt/dbtfactory.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/simpledbt/dbtfactory.cxx b/connectivity/source/simpledbt/dbtfactory.cxx
index 2f8d2fc26917..5211b763ff37 100644
--- a/connectivity/source/simpledbt/dbtfactory.cxx
+++ b/connectivity/source/simpledbt/dbtfactory.cxx
@@ -30,13 +30,14 @@ using namespace ::com::sun::star::lang;
// the entry point for load-on-call usage of the DBTOOLS lib
+#if HAVE_FEATURE_DESKTOP
extern "C" void* SAL_CALL createDataAccessToolsFactory()
{
::connectivity::ODataAccessToolsFactory* pFactory = new ::connectivity::ODataAccessToolsFactory;
pFactory->acquire();
return pFactory;
}
-
+#endif
namespace connectivity
{