diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 10:44:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:51 +0200 |
commit | 9fce680e27e57f0539f55c7ecb5c8e1d96029267 (patch) | |
tree | 36475df8317c32dd9db79d0eafe9a50df7e1018e /dbaccess/source/filter | |
parent | ef268562602a4bef0e128f95beaef9732ac00c7d (diff) |
loplugin:passstuffbyref in dbaccess
Change-Id: Ice52ebbfeca45c8587fdcd0d3dea5c02c7de27e3
Diffstat (limited to 'dbaccess/source/filter')
-rw-r--r-- | dbaccess/source/filter/xml/xmlExport.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/filter/xml/xmlfilter.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/filter/xml/xmlExport.hxx b/dbaccess/source/filter/xml/xmlExport.hxx index ad6d3eb86890..237d0467792d 100644 --- a/dbaccess/source/filter/xml/xmlExport.hxx +++ b/dbaccess/source/filter/xml/xmlExport.hxx @@ -191,7 +191,7 @@ public: // XExporter virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - inline Reference<XPropertySet> getDataSource() const { return m_xDataSource; } + const Reference<XPropertySet>& getDataSource() const { return m_xDataSource; } }; } // dbaxml diff --git a/dbaccess/source/filter/xml/xmlfilter.hxx b/dbaccess/source/filter/xml/xmlfilter.hxx index 2b3daecfad21..5db692434af9 100644 --- a/dbaccess/source/filter/xml/xmlfilter.hxx +++ b/dbaccess/source/filter/xml/xmlfilter.hxx @@ -124,7 +124,7 @@ public: virtual void SetViewSettings(const css::uno::Sequence<css::beans::PropertyValue>& aViewProps) override; virtual void SetConfigurationSettings(const css::uno::Sequence<css::beans::PropertyValue>& aConfigProps) override; - inline Reference<XPropertySet> getDataSource() const { return m_xDataSource; } + const Reference<XPropertySet>& getDataSource() const { return m_xDataSource; } inline const TPropertyNameMap& getQuerySettings() const { return m_aQuerySettings;} |