diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-12 08:32:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-12 09:50:31 +0200 |
commit | 224953d896a3dba5d85992394525ab8b54d8c314 (patch) | |
tree | 93a43f38c0833b01459a3da12d7b1f89bf46ed84 /libreofficekit | |
parent | d602c433a08c6df28198ceb61b95f5c6d85d1a87 (diff) |
loplugin:moveparam in various
Change-Id: Ifa7c8ff2b21f63d234c29c28303d0bacd376c1e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123434
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 68c23ffa4e55..330361209ba0 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -67,9 +67,9 @@ struct ViewRectangles int m_nPart; std::vector<GdkRectangle> m_aRectangles; - ViewRectangles(int nPart = 0, const std::vector<GdkRectangle>& rRectangles = std::vector<GdkRectangle>()) + ViewRectangles(int nPart = 0, std::vector<GdkRectangle>&& rRectangles = std::vector<GdkRectangle>()) : m_nPart(nPart), - m_aRectangles(rRectangles) + m_aRectangles(std::move(rRectangles)) { } }; |