diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 07:47:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 14:34:59 +0200 |
commit | 32ca870833a89ec16ed7e08296dcc573dcc64029 (patch) | |
tree | be4eb8d0382db032b7ddfe22df6303fd86ac2c15 /dbaccess/source/filter/xml/xmlExport.cxx | |
parent | 509c017f5a6ee6b7c1bb9b61b36aef58a06afd27 (diff) |
clang-tidy performance-unnecessary-copy-init in dbaccess..drawinglayer
Change-Id: I49a152b2aea93d30b16192260f4f659c7e5fcaee
Reviewed-on: https://gerrit.libreoffice.org/62215
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/filter/xml/xmlExport.cxx')
-rw-r--r-- | dbaccess/source/filter/xml/xmlExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx index 8f3f5757321e..4a23c3d9f5be 100644 --- a/dbaccess/source/filter/xml/xmlExport.cxx +++ b/dbaccess/source/filter/xml/xmlExport.cxx @@ -288,7 +288,7 @@ void ODBExport::exportDataSource() ::connectivity::DriversConfig aDriverConfig(getComponentContext()); const OUString sURL = ::comphelper::getString(xProp->getPropertyValue(PROPERTY_URL)); - ::comphelper::NamedValueCollection aDriverSupportedProperties( aDriverConfig.getProperties( sURL ) ); + const ::comphelper::NamedValueCollection& aDriverSupportedProperties( aDriverConfig.getProperties( sURL ) ); static OUString s_sTrue(::xmloff::token::GetXMLToken( XML_TRUE )); static OUString s_sFalse(::xmloff::token::GetXMLToken( XML_FALSE )); |