summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-03-19 10:52:27 +0200
committerNoel Grandin <noel@peralex.com>2013-03-20 07:32:51 +0200
commit286a86221b0b666fb9c54ffc30fdf1fd99a1316d (patch)
tree9f5b292c981bfca0be9b4e79770fbf51bae87e13 /offapi
parent24d53ed075b9c904c6947cf3ca7096d3d4a70bce (diff)
fdo#46808, Convert sdb::TextConnectionSettings to new style
The service already existed, it just needed an IDL file Change-Id: If86cb14d107077da5f10bddd81deda7cf61442ed
Diffstat (limited to 'offapi')
-rw-r--r--offapi/UnoApi_offapi.mk1
-rw-r--r--offapi/com/sun/star/sdb/TextConnectionSettings.idl4
-rw-r--r--offapi/com/sun/star/sdb/XTextConnectionSettings.idl44
3 files changed, 47 insertions, 2 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index fff6747e0f06..ed4a01f35061 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -3138,6 +3138,7 @@ $(eval $(call gb_ZipUnoApi_add_idlfiles,offapi,offapi/com/sun/star/sdb,\
XSingleSelectQueryAnalyzer \
XSingleSelectQueryComposer \
XSubDocument \
+ XTextConnectionSettings \
))
$(eval $(call gb_ZipUnoApi_add_idlfiles,offapi,offapi/com/sun/star/sdb/application,\
CopyTableContinuation \
diff --git a/offapi/com/sun/star/sdb/TextConnectionSettings.idl b/offapi/com/sun/star/sdb/TextConnectionSettings.idl
index 3f422dd32a99..fecb15005e64 100644
--- a/offapi/com/sun/star/sdb/TextConnectionSettings.idl
+++ b/offapi/com/sun/star/sdb/TextConnectionSettings.idl
@@ -21,14 +21,14 @@
#ifndef __com_sun_star_sdb_TextConnectionSettings_idl__
#define __com_sun_star_sdb_TextConnectionSettings_idl__
-#include <com/sun/star/ui/dialogs/XExecutableDialog.idl>
+#include <com/sun/star/sdb/XTextConnectionSettings.idl>
module com { module sun { module star { module sdb {
/**
@since LibreOffice 4.1
*/
-service TextConnectionSettings : com::sun::star::ui::dialogs::XExecutableDialog;
+service TextConnectionSettings : XTextConnectionSettings;
}; }; }; };
diff --git a/offapi/com/sun/star/sdb/XTextConnectionSettings.idl b/offapi/com/sun/star/sdb/XTextConnectionSettings.idl
new file mode 100644
index 000000000000..89645ec0fc15
--- /dev/null
+++ b/offapi/com/sun/star/sdb/XTextConnectionSettings.idl
@@ -0,0 +1,44 @@
+/* -*- 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/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+
+#ifndef __com_sun_star_sdb_XTextConnectionSettings_idl__
+#define __com_sun_star_sdb_XTextConnectionSettings_idl__
+
+#include <com/sun/star/ui/dialogs/XExecutableDialog.idl>
+#include <com/sun/star/beans/XPropertySet.idl>
+
+module com { module sun { module star { module sdb {
+
+/**
+ @since LibreOffice 4.1
+*/
+interface XTextConnectionSettings {
+
+ interface com::sun::star::ui::dialogs::XExecutableDialog;
+
+ interface com::sun::star::beans::XPropertySet;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */