diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-08 12:36:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-11 10:10:38 +0100 |
commit | 0879fd8ea4920c51dab59a35b8df204f19796fad (patch) | |
tree | 145ab5037a7178da25ff9f1c3fc546e047da9d64 /cui/source/dialogs/screenshotannotationdlg.cxx | |
parent | 1f7e854887c8715aa31beb55ba514c8b11c374eb (diff) |
clang-tidy: performance-unnecessary-copy-initialization in cui
Change-Id: Idbce2978dee6c485e50dc6ceccf67d7d3722bb17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176375
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/dialogs/screenshotannotationdlg.cxx')
-rw-r--r-- | cui/source/dialogs/screenshotannotationdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx index c321931f8f49..4fc295f84286 100644 --- a/cui/source/dialogs/screenshotannotationdlg.cxx +++ b/cui/source/dialogs/screenshotannotationdlg.cxx @@ -305,7 +305,7 @@ IMPL_LINK_NOARG(ScreenshotAnnotationDlg_Impl, saveButtonHandler, weld::Button&, if (!files.hasElements()) return; - OUString aConfirmedName = files[0]; + const OUString& aConfirmedName = files[0]; if (aConfirmedName.isEmpty()) return; |