diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-02 13:42:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-02 14:36:02 +0200 |
commit | 81002bc718edad94613b20c2480719979b443b99 (patch) | |
tree | a25b6474872505e71c34abedef2e3dfc7ccd6435 /oox/source/ole/axcontrol.cxx | |
parent | 554370661554652e7be96034e310d6863c700285 (diff) |
clang-tidy modernize-pass-by-value in oox
Change-Id: Ia553a24693f2ffc0f580c9869b82f0d01a1a0ffb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137693
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/ole/axcontrol.cxx')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index a3573b395204..b624fb38a8c7 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -51,6 +51,7 @@ #include <com/sun/star/table/CellRangeAddress.hpp> #include <rtl/tencinfo.h> #include <osl/diagnose.h> +#include <utility> #include <vcl/font.hxx> #include <vcl/outdev.hxx> #include <vcl/settings.hxx> @@ -2654,8 +2655,8 @@ HtmlTextBoxModel::importBinaryModel( BinaryInputStream& rInStrm ) return true; } -EmbeddedControl::EmbeddedControl( const OUString& rName ) : - maName( rName ) +EmbeddedControl::EmbeddedControl( OUString aName ) : + maName(std::move( aName )) { } |