I corrected an error (bad link/reference) in the API documentation for
com::sun::star::sdbc::XDatabaseMetaData. Do we backport that kind of
things? It would suck somewhat for our on-line version to be wrong
until after the release of 3.6.
So I propose we backport this to 3.5, and maybe 3.4, too?
--
Lionel
From 7535373fa693ddff5311054800efcc602cdcacd9 Mon Sep 17 00:00:00 2001
From: Lionel Elie Mamane <lionel@mamane.lu>
Date: Tue, 14 Feb 2012 06:19:08 +0100
Subject: [PATCH] correct documentation of
com::sun::star::sdbc::XDatabaseMetaData
---
offapi/com/sun/star/sdbc/XDatabaseMetaData.idl | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
b/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
index 4f06bb5..abee6d2 100644
--- a/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
+++ b/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
@@ -45,17 +45,19 @@
the form of
<type scope="com::sun::star::sdbc">XResultSet</type>
objects.
- You can use the normal <type scope="com::sun::star::sdbc">XResultSet</type>
+ You can use the normal <type scope="com::sun::star::sdbc">XRow</type>
+ (or <type scope="com::sun::star::sdb">XColumn</type>)
methods such as
- <member scope="com::sun::star::sdbc">XResultSet::getString()</member>
+ <member scope="com::sun::star::sdbc">XRow::getString()</member>
and
- <member scope="com::sun::star::sdbc">XResultSet::getInt()</member>
+ <member scope="com::sun::star::sdbc">XRow::getInt()</member>
to retrieve the data from these XResultSets. If a given form of
metadata is not available, these methods should throw a
<type scope="com::sun::star::sdbc">SQLException</type>
.
- That a value of <type scope="com::sun::star::sdbc">XResultSet</type> is <NULL/>
- can be checked with the method <member
scope="com::sun::star::sdbc">XResultSet::wasNull()</member>.
+ After calling one of the getXXX() methods,
+ one can check whether that value is <NULL/>
+ with the method <member scope="com::sun::star::sdbc">XRow::wasNull()</member>.
In the text only "(may be <NULL/>)" is mentioned for this case.
</p>
<p>Some of these methods take arguments that are String patterns. These
@@ -69,8 +71,7 @@
A
<type scope="com::sun::star::sdbc">SQLException</type>
will be thrown if a driver does not support
- a meta data method. In the case of methods that return an XResultSet,
+ a metadata method. In the case of methods that return an XResultSet,
either an XResultSet (which may be empty) is returned or a
SQLException is thrown.</p>
*/
--
1.7.7.3
Context
- [PATCH] [REVIEW:3-5,3-4] api documentation error · Lionel Elie Mamane
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.