summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/sdbc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-30 00:15:22 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-04 12:01:06 +0200
commit73d568408a150875b5c6046680f38e6db287c8fa (patch)
tree3c6d87ae03cc8193ef1d418d7a1ff7272bbbae53 /offapi/com/sun/star/sdbc
parent*api: convert remaining elements with "scope" attribute (diff)
downloadcore-73d568408a150875b5c6046680f38e6db287c8fa.tar.gz
core-73d568408a150875b5c6046680f38e6db287c8fa.zip
*api: convert <listing> and @example
<listing> is called @code / @endcode in doxygen. @example requires a file name in doxygen. Also adapt various silly examples that use tools String in C++ or manual syntax highlighting in Java etc. Change-Id: I23cff1b688001f438526a6a1364cc5f754b504f7
Diffstat (limited to 'offapi/com/sun/star/sdbc')
-rw-r--r--offapi/com/sun/star/sdbc/PreparedStatement.idl5
-rw-r--r--offapi/com/sun/star/sdbc/XParameters.idl7
2 files changed, 7 insertions, 5 deletions
diff --git a/offapi/com/sun/star/sdbc/PreparedStatement.idl b/offapi/com/sun/star/sdbc/PreparedStatement.idl
index d35d0bbfedd0..ae841c50bee5 100644
--- a/offapi/com/sun/star/sdbc/PreparedStatement.idl
+++ b/offapi/com/sun/star/sdbc/PreparedStatement.idl
@@ -62,12 +62,11 @@
</p>
<p>
Example of setting a parameter; <code>con</code> is an active connection.
- @example:StarBASIC
- <listing>
+ @code{.bas}
pstmt = con.prepareStatement("UPDATE EMPLOYEES SET SALARY = ? WHERE ID = ?")
pstmt.setDouble(1, 153833.00)
pstmt.setLong(2, 110592)
- </listing>
+ @endcode
</p>
<P>
Only one
diff --git a/offapi/com/sun/star/sdbc/XParameters.idl b/offapi/com/sun/star/sdbc/XParameters.idl
index 6347f511e4a0..6f1beca0a8c4 100644
--- a/offapi/com/sun/star/sdbc/XParameters.idl
+++ b/offapi/com/sun/star/sdbc/XParameters.idl
@@ -65,10 +65,13 @@
is an active connection.
</p>
- @example <listing>pstmt = con.prepareStatement("UPDATE EMPLOYEES SET SALARY = ? WHERE ID = ?")
+ @code{.bas}
+ pstmt = con.prepareStatement("UPDATE EMPLOYEES SET SALARY = ? WHERE ID = ?")
pstmt.setDouble(1, 153833.00)
pstmt.setLong(2, 110592)
- </listing>@see com::sun::star::sdbc::XPreparedStatement
+ @endcode
+
+ @see com::sun::star::sdbc::XPreparedStatement
*/
published interface XParameters: com::sun::star::uno::XInterface
{