clang-tidy: performance-unnecessary-copy-initialization in extensions
Change-Id: I85e9c4f7e6d1b20e83929bcfdbbedee7129ce4e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176413 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
This commit is contained in:
parent
d71a40504b
commit
9ce6abe3d4
2 changed files with 2 additions and 2 deletions
|
@ -430,7 +430,7 @@ DBChangeDialog_Impl::DBChangeDialog_Impl(weld::Window* pParent, const BibDataMan
|
|||
|
||||
try
|
||||
{
|
||||
OUString sActiveSource = pDatMan->getActiveDataSource();
|
||||
const OUString& sActiveSource = pDatMan->getActiveDataSource();
|
||||
for (const OUString& rSourceName : aConfig.GetDataSourceNames())
|
||||
m_xSelectionLB->append_text(rSourceName);
|
||||
m_xSelectionLB->select_text(sActiveSource);
|
||||
|
|
|
@ -407,7 +407,7 @@ namespace pcr
|
|||
OUString aOldIdStr = pOldIdStrings[i];
|
||||
aOldPureIdStr = aOldIdStr.copy( 1 );
|
||||
}
|
||||
OUString aNewPureIdStr = pNewPureIds[i];
|
||||
const OUString& aNewPureIdStr = pNewPureIds[i];
|
||||
|
||||
for ( const Locale& rLocale : aLocaleSeq )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue