diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-24 15:56:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-24 18:24:19 +0200 |
commit | 6c28906ff6b3cc2fc306d927010cf730e7ef5fbc (patch) | |
tree | 1647a437937c7dfb791452fd5d2abc3d7a7d3485 /sdext/source/pdfimport/inc/contentsink.hxx | |
parent | 1c57c295e86676d9cfe5aa72f55dbd5d24cc7930 (diff) |
clang-tidy modernize-pass-by-value in sdext
Change-Id: Ieded279152946830b2619ac80c4a9639d616557a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136398
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/pdfimport/inc/contentsink.hxx')
-rw-r--r-- | sdext/source/pdfimport/inc/contentsink.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/inc/contentsink.hxx b/sdext/source/pdfimport/inc/contentsink.hxx index 9d016a7e2a3e..5f1517e8c4c2 100644 --- a/sdext/source/pdfimport/inc/contentsink.hxx +++ b/sdext/source/pdfimport/inc/contentsink.hxx @@ -48,14 +48,14 @@ namespace pdfi { struct FontAttributes { - FontAttributes( const OUString& familyName_, - const OUString& sFontWeight, + FontAttributes( OUString familyName_, + OUString sFontWeight, bool isItalic_, bool isUnderline_, double size_, double ascent_) : - familyName(familyName_), - fontWeight(sFontWeight), + familyName(std::move(familyName_)), + fontWeight(std::move(sFontWeight)), isItalic(isItalic_), isUnderline(isUnderline_), isOutline(false), |