diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-30 00:15:22 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-06-04 12:01:06 +0200 |
commit | 73d568408a150875b5c6046680f38e6db287c8fa (patch) | |
tree | 3c6d87ae03cc8193ef1d418d7a1ff7272bbbae53 /offapi/com/sun/star/sdbc | |
parent | *api: convert remaining elements with "scope" attribute (diff) | |
download | core-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.idl | 5 | ||||
-rw-r--r-- | offapi/com/sun/star/sdbc/XParameters.idl | 7 |
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 { |