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?

>From 7535373fa693ddff5311054800efcc602cdcacd9 Mon Sep 17 00:00:00 2001
From: Lionel Elie Mamane <lio...@mamane.lu>
Date: Tue, 14 Feb 2012 06:19:08 +0100
Subject: [PATCH] correct documentation of

 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>
-    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>
-    <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>Some of these methods take arguments that are String patterns. These
@@ -69,8 +71,7 @@
     <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>

LibreOffice mailing list

Reply via email to