summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/TTableHelper.hxx10
-rw-r--r--include/connectivity/statementcomposer.hxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/include/connectivity/TTableHelper.hxx b/include/connectivity/TTableHelper.hxx
index aa462dd50fc3..54d941421860 100644
--- a/include/connectivity/TTableHelper.hxx
+++ b/include/connectivity/TTableHelper.hxx
@@ -136,7 +136,7 @@ namespace connectivity
);
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData> getMetaData() const override;
- css::uno::Reference< css::sdbc::XConnection> getConnection() const;
+ css::uno::Reference< css::sdbc::XConnection> const & getConnection() const;
// XRename
virtual void SAL_CALL rename( const OUString& newName ) override;
@@ -152,10 +152,10 @@ namespace connectivity
virtual OUString getTypeCreatePattern() const;
- css::uno::Reference< css::sdb::tools::XTableRename> getRenameService() const;
- css::uno::Reference< css::sdb::tools::XTableAlteration> getAlterService() const;
- css::uno::Reference< css::sdb::tools::XKeyAlteration> getKeyService() const;
- css::uno::Reference< css::sdb::tools::XIndexAlteration> getIndexService() const;
+ css::uno::Reference< css::sdb::tools::XTableRename> const & getRenameService() const;
+ css::uno::Reference< css::sdb::tools::XTableAlteration> const & getAlterService() const;
+ css::uno::Reference< css::sdb::tools::XKeyAlteration> const & getKeyService() const;
+ css::uno::Reference< css::sdb::tools::XIndexAlteration> const & getIndexService() const;
};
}
#endif // INCLUDED_CONNECTIVITY_TTABLEHELPER_HXX
diff --git a/include/connectivity/statementcomposer.hxx b/include/connectivity/statementcomposer.hxx
index e1cb17af49d3..e94d95a1a11b 100644
--- a/include/connectivity/statementcomposer.hxx
+++ b/include/connectivity/statementcomposer.hxx
@@ -72,7 +72,7 @@ namespace dbtools
@throws css::sdbc::SQLException
if such an exception occurs while creating the composer
*/
- css::uno::Reference< css::sdb::XSingleSelectQueryComposer >
+ css::uno::Reference< css::sdb::XSingleSelectQueryComposer > const &
getComposer();
/** returns the composer statement