diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-31 20:20:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-31 23:08:51 +0100 |
commit | 20c015f2726904b0d96380a1ec16e7d7406acca1 (patch) | |
tree | 304813e02b61bc9ad849a35ee314d48dbd92993f /include | |
parent | c77ecfbdbee4b03225e9dad7cbedd5c9c7be0995 (diff) |
cid#1546464 COPY_INSTEAD_OF_MOVE
and
cid#1546346 COPY_INSTEAD_OF_MOVE
cid#1546342 COPY_INSTEAD_OF_MOVE
cid#1546320 COPY_INSTEAD_OF_MOVE
cid#1546305 COPY_INSTEAD_OF_MOVE
cid#1546241 COPY_INSTEAD_OF_MOVE
cid#1546162 COPY_INSTEAD_OF_MOVE
cid#1546118 COPY_INSTEAD_OF_MOVE
cid#1546048 COPY_INSTEAD_OF_MOVE
cid#1545989 COPY_INSTEAD_OF_MOVE
cid#1545936 COPY_INSTEAD_OF_MOVE
Change-Id: I63bc43378b36f7c49e66231152138ad7038971e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161507
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/glyphitemcache.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/glyphitemcache.hxx b/include/vcl/glyphitemcache.hxx index 0dc15d82f6f1..e0cadb7e7c13 100644 --- a/include/vcl/glyphitemcache.hxx +++ b/include/vcl/glyphitemcache.hxx @@ -43,13 +43,13 @@ class VCL_DLLPUBLIC SalLayoutGlyphsCache final public: // NOTE: The lifetime of the returned value is guaranteed only until the next call // to any function in this class. - const SalLayoutGlyphs* GetLayoutGlyphs(VclPtr<const OutputDevice> outputDevice, + const SalLayoutGlyphs* GetLayoutGlyphs(const VclPtr<const OutputDevice>& outputDevice, const OUString& text, const vcl::text::TextLayoutCache* layoutCache = nullptr) { return GetLayoutGlyphs(outputDevice, text, 0, text.getLength(), 0, layoutCache); } - const SalLayoutGlyphs* GetLayoutGlyphs(VclPtr<const OutputDevice> outputDevice, + const SalLayoutGlyphs* GetLayoutGlyphs(const VclPtr<const OutputDevice>& outputDevice, const OUString& text, sal_Int32 nIndex, sal_Int32 nLen, tools::Long nLogicWidth = 0, const vcl::text::TextLayoutCache* layoutCache = nullptr); |