diff options
4 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/macab/MacabDriver.hxx b/connectivity/source/drivers/macab/MacabDriver.hxx index f50f7562cc75..eeedac4e60a4 100644 --- a/connectivity/source/drivers/macab/MacabDriver.hxx +++ b/connectivity/source/drivers/macab/MacabDriver.hxx @@ -124,7 +124,7 @@ namespace connectivity static OUString getImplementationName_Static( ) throw(::com::sun::star::uno::RuntimeException); static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static( ) throw (::com::sun::star::uno::RuntimeException); - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & getComponentContext() const { return m_xContext; } /** returns the path of our configuration settings diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx index caf1db78bc9e..9ca9bca94d3e 100644 --- a/connectivity/source/drivers/macab/MacabRecords.cxx +++ b/connectivity/source/drivers/macab/MacabRecords.cxx @@ -1196,7 +1196,7 @@ void MacabRecords::setName(const OUString& _sName) } -OUString MacabRecords::getName() const +OUString const & MacabRecords::getName() const { return m_sName; } diff --git a/connectivity/source/drivers/macab/MacabRecords.hxx b/connectivity/source/drivers/macab/MacabRecords.hxx index 615c8ba313c1..11e5bcc5c823 100644 --- a/connectivity/source/drivers/macab/MacabRecords.hxx +++ b/connectivity/source/drivers/macab/MacabRecords.hxx @@ -88,7 +88,7 @@ namespace connectivity MacabHeader *getHeader() const; void setName(const OUString& _sName); - OUString getName() const; + OUString const & getName() const; MacabRecord *insertRecord(MacabRecord *_newRecord, const sal_Int32 _location); void insertRecord(MacabRecord *_newRecord); diff --git a/connectivity/source/drivers/macab/MacabTable.hxx b/connectivity/source/drivers/macab/MacabTable.hxx index 6c90d78c61e3..93f294162436 100644 --- a/connectivity/source/drivers/macab/MacabTable.hxx +++ b/connectivity/source/drivers/macab/MacabTable.hxx @@ -49,8 +49,8 @@ namespace connectivity virtual void refreshColumns() override; - OUString getTableName() const { return m_Name; } - OUString getSchema() const { return m_SchemaName; } + OUString const & getTableName() const { return m_Name; } + OUString const & getSchema() const { return m_SchemaName; } }; } } |