include/svx/dbaexchange.hxx |   20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

New commits:
commit 55dda1367a845b37184cedc287e5f8f03ef0f6cf
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Aug 31 08:56:14 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Aug 31 12:16:30 2020 +0200

    can keep this comment to document the args
    
    Change-Id: I64b8e461cc692c6c9683df52dc1fea6b2e5a937e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101697
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/include/svx/dbaexchange.hxx b/include/svx/dbaexchange.hxx
index c5bbeae01024..c5a0193b886a 100644
--- a/include/svx/dbaexchange.hxx
+++ b/include/svx/dbaexchange.hxx
@@ -159,15 +159,31 @@ namespace svx
             // needed to provide a SotClipboardFormatId::SBA_DATAEXCHANGE 
format
 
     public:
+        /** should be used copying and the connection is needed.
+            @param  _rDatasource
+                The data source name.
+            @param  _nCommandType
+                The kind of command. @see com.sun.star.sdbc.CommandType
+            @param  _rCommand
+                The command, either a name of a table or query or a SQL 
statement.
+        */
         void Update(
-            const OUString&  _rDatasourceOrLocation,
+            const OUString& _rDatasource,
             const sal_Int32 _nCommandType,
             const OUString& _rCommand,
             const css::uno::Reference< css::sdbc::XConnection >& _rxConnection
         );
 
+        /** should be used when copying a query object and no connection is 
available.
+            @param  _rDatasource
+                The data source name.
+            @param  _nCommandType
+                The kind of command. @see com.sun.star.sdbc.CommandType
+            @param  _rCommand
+                The command, either a name of a table or query or a SQL 
statement.
+        */
         void Update(
-            const OUString& _rDatasourceOrLocation,
+            const OUString& _rDatasource,
             const sal_Int32 _nCommandType,
             const OUString& _rCommand
         );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to