summaryrefslogtreecommitdiff
path: root/sw/inc/dbmgr.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:59:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit9f7f7d6cfa379a25730bfe8fb2d4638c08e59b90 (patch)
tree63a9c9364b850e8f011ffbed9e51221921fd74cf /sw/inc/dbmgr.hxx
parenteb96c8634a890071c72592a51afdacc2120a08b9 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I7e7cdfa5efaf18bb47d40947d4e1d91a2c9b5a57
Diffstat (limited to 'sw/inc/dbmgr.hxx')
-rw-r--r--sw/inc/dbmgr.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index 113f33d45010..222e55c07df5 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -306,12 +306,12 @@ public:
void GetColumnNames(ListBox* pListBox,
const OUString& rDBName, const OUString& rTableName);
static void GetColumnNames(ListBox* pListBox,
- css::uno::Reference< css::sdbc::XConnection> xConnection,
+ css::uno::Reference< css::sdbc::XConnection> const & xConnection,
const OUString& rTableName);
- static sal_uLong GetColumnFormat( css::uno::Reference< css::sdbc::XDataSource> xSource,
- css::uno::Reference< css::sdbc::XConnection> xConnection,
- css::uno::Reference< css::beans::XPropertySet> xColumn,
+ static sal_uLong GetColumnFormat( css::uno::Reference< css::sdbc::XDataSource> const & xSource,
+ css::uno::Reference< css::sdbc::XConnection> const & xConnection,
+ css::uno::Reference< css::beans::XPropertySet> const & xColumn,
SvNumberFormatter* pNFormatr,
long nLanguage );
@@ -366,7 +366,7 @@ public:
static const SwDBData& GetAddressDBName();
static OUString GetDBField(
- css::uno::Reference< css::beans::XPropertySet > xColumnProp,
+ css::uno::Reference< css::beans::XPropertySet > const & xColumnProp,
const SwDBFormatData& rDBFormatData,
double *pNumber = nullptr);
@@ -375,7 +375,7 @@ public:
css::uno::Reference< css::sdbc::XDataSource>& rxSource);
static css::uno::Reference< css::sdbcx::XColumnsSupplier>
- GetColumnSupplier(css::uno::Reference< css::sdbc::XConnection>,
+ GetColumnSupplier(css::uno::Reference< css::sdbc::XConnection> const & xConnection,
const OUString& rTableOrQuery,
SwDBSelect eTableOrQuery = SwDBSelect::UNKNOWN);