summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mysqlc/mysql_dummy.cxx
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2018-08-29 16:03:30 +0200
committerAndras Timar <andras.timar@collabora.com>2018-08-29 16:03:30 +0200
commitda2c4acc4e2e51252d2ef1751bc77966be32ec80 (patch)
treecc49291293431a5a7582e99dc5dfba629ccaf075 /connectivity/source/drivers/mysqlc/mysql_dummy.cxx
parent75069eddea917213f57c9f01223f92cac6dccf4d (diff)
Add source for zero stub mysqllo.dll (MSP needs it)cp-6.0-7
Change-Id: Ia36bbd0bd7c1f650366215bfc70b0ced5b96e70a
Diffstat (limited to 'connectivity/source/drivers/mysqlc/mysql_dummy.cxx')
-rw-r--r--connectivity/source/drivers/mysqlc/mysql_dummy.cxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysql_dummy.cxx b/connectivity/source/drivers/mysqlc/mysql_dummy.cxx
new file mode 100644
index 000000000000..05d4cc35b69e
--- /dev/null
+++ b/connectivity/source/drivers/mysqlc/mysql_dummy.cxx
@@ -0,0 +1,20 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <sal/types.h>
+
+using namespace com::sun::star;
+
+extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
+ const sal_Char* /*pImplementationName*/, void* /*pServiceManager*/, void* /*pRegistryKey*/)
+{
+ return nullptr;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */