diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 07:54:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 10:29:38 +0200 |
commit | edc85fb55f8adc30a1416c6c854c89097060fb21 (patch) | |
tree | daf9701247beee33cdb6af9d0486d1ba9a0932f7 /idl | |
parent | 86cce1343ca5ed85eece1c9d065f9f861d57f9d9 (diff) |
clang-tidy performance-unnecessary-copy-init in idl..reportdesign
Change-Id: I4b2eda375bbfe1ba35a45168515d885935adcb76
Reviewed-on: https://gerrit.libreoffice.org/62217
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/prj/database.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index e6521bdbf37b..c0b7b8cf9cea 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -284,7 +284,7 @@ SvMetaType * SvIdlDataBase::ReadKnownType( SvTokenStream & rInStm ) if( rTok.IsIdentifier() ) { - OString aName = rTok.GetString(); + const OString& aName = rTok.GetString(); for( const auto& aType : GetTypeList() ) { if( aType->GetName() == aName ) |