diff options
-rw-r--r-- | include/svx/dbaexchange.hxx | 20 |
1 files changed, 18 insertions, 2 deletions
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 ); |