[Libreoffice-commits] core.git: dbaccess/source
Julien Nabet
serval2412 at yahoo.fr
Sun Sep 24 15:27:11 UTC 2017
dbaccess/source/ui/dlg/directsql.cxx | 2 +-
dbaccess/source/ui/inc/directsql.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fe0f1dba1369f5d9f382ee3432833e22fe0da442
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Sep 24 13:18:39 2017 +0200
Use a ref for arg of DirectSQLDialog::display
Change-Id: Ia30866edb5a243c09af3256bd963cafa9e2335ba
Reviewed-on: https://gerrit.libreoffice.org/42705
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx
index 5b109fedf23e..ed2f7c7dae5c 100644
--- a/dbaccess/source/ui/dlg/directsql.cxx
+++ b/dbaccess/source/ui/dlg/directsql.cxx
@@ -247,7 +247,7 @@ namespace dbaui
addStatusText(sStatus);
}
- void DirectSQLDialog::display(css::uno::Reference< css::sdbc::XResultSet > xRS)
+ void DirectSQLDialog::display(const css::uno::Reference< css::sdbc::XResultSet >& xRS)
{
// get a handle for the rows
css::uno::Reference< css::sdbc::XRow > xRow( xRS, css::uno::UNO_QUERY );
diff --git a/dbaccess/source/ui/inc/directsql.hxx b/dbaccess/source/ui/inc/directsql.hxx
index 7a48d4d58b12..5e5562f2a1f4 100644
--- a/dbaccess/source/ui/inc/directsql.hxx
+++ b/dbaccess/source/ui/inc/directsql.hxx
@@ -107,7 +107,7 @@ namespace dbaui
void addOutputText(const OUString& _rMessage);
/// displays resultset
- void display(css::uno::Reference< css::sdbc::XResultSet > xRS);
+ void display(const css::uno::Reference< css::sdbc::XResultSet >& xRS);
#ifdef DBG_UTIL
const sal_Char* impl_CheckInvariants() const;
More information about the Libreoffice-commits
mailing list