diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-15 19:59:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-16 09:29:43 +0200 |
commit | 06aaed0fd7e44f6c54331851e276dfb51dc561bb (patch) | |
tree | 4ecfa7bdec0591badc73cb5dc7a299d012436442 /include | |
parent | 523465dbcc147178188bc3446a0eccf580c001ac (diff) |
cid#1616498 COPY_INSTEAD_OF_MOVE
and
cid#1616499 COPY_INSTEAD_OF_MOVE
Change-Id: I21b089cab036902a7ba5b725a6eae0f1212f2b31
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171923
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/lok.hxx | 2 | ||||
-rw-r--r-- | include/drawinglayer/primitive2d/textlayoutdevice.hxx | 10 | ||||
-rw-r--r-- | include/vcl/outdev.hxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx index a497912c4a6f..d1aa6804f534 100644 --- a/include/comphelper/lok.hxx +++ b/include/comphelper/lok.hxx @@ -134,7 +134,7 @@ COMPHELPER_DLLPUBLIC void statusIndicatorFinish(); COMPHELPER_DLLPUBLIC void setBlockedCommandList(const char* blockedCommandList); -COMPHELPER_DLLPUBLIC void setAnyInputCallback(std::function<bool(void*)> pAnyInputCallback, +COMPHELPER_DLLPUBLIC void setAnyInputCallback(const std::function<bool(void*)>& pAnyInputCallback, void* pData); COMPHELPER_DLLPUBLIC bool anyInput(); } diff --git a/include/drawinglayer/primitive2d/textlayoutdevice.hxx b/include/drawinglayer/primitive2d/textlayoutdevice.hxx index 5a0849100142..5eb70003d0d4 100644 --- a/include/drawinglayer/primitive2d/textlayoutdevice.hxx +++ b/include/drawinglayer/primitive2d/textlayoutdevice.hxx @@ -125,11 +125,11 @@ public: const basegfx::B2DPoint& rStartPoint, const KernArray& rDXArray, std::span<const sal_Bool> pKashidaAry) const; - void - createEmphasisMarks(SalLayout& rSalLayout, TextEmphasisMark aTextEmphasisMark, bool bAbove, - std::function<void(const basegfx::B2DPoint&, const basegfx::B2DPolyPolygon&, - bool, const tools::Rectangle&, const tools::Rectangle&)> - aCallback) const; + void createEmphasisMarks( + SalLayout& rSalLayout, TextEmphasisMark aTextEmphasisMark, bool bAbove, + const std::function<void(const basegfx::B2DPoint&, const basegfx::B2DPolyPolygon&, bool, + const tools::Rectangle&, const tools::Rectangle&)>& rCallback) + const; }; // helper methods for vcl font handling diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 2564193c0cf4..8d0d0c0bf5a9 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1237,8 +1237,8 @@ public: FontEmphasisMark nFontEmphasisMark, tools::Long nEmphasisHeight, SalLayout& rSalLayout, - std::function<void(const basegfx::B2DPoint&, const basegfx::B2DPolyPolygon&, - bool, const tools::Rectangle&, const tools::Rectangle&)> aCallback) const; + const std::function<void(const basegfx::B2DPoint&, const basegfx::B2DPolyPolygon&, + bool, const tools::Rectangle&, const tools::Rectangle&)>& rCallback) const; // tells whether this output device is RTL in an LTR UI or LTR in a RTL UI SAL_DLLPRIVATE bool ImplIsAntiparallel() const ; |