diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-12 10:54:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-12 16:08:24 +0100 |
commit | 45df690b078dc9c44fc83f0d431eeeeb53710cfa (patch) | |
tree | b43bfec9fb6a2d47e35270eee0b6ac28cd7d835d /slideshow | |
parent | f544dfeaf4c9cab5c626a4fdf285586f43a06b0c (diff) |
cid#1559173 COPY_INSTEAD_OF_MOVE
and
cid#1559172 COPY_INSTEAD_OF_MOVE
Change-Id: I63f2c43d1b78d628443580930c2579428b6ba046
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160610
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/eventmultiplexer.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/slideshow/source/engine/eventmultiplexer.cxx b/slideshow/source/engine/eventmultiplexer.cxx index a5135384b311..2419b2da8677 100644 --- a/slideshow/source/engine/eventmultiplexer.cxx +++ b/slideshow/source/engine/eventmultiplexer.cxx @@ -321,10 +321,10 @@ struct EventMultiplexerImpl /// Schedules tick events, if mbIsAutoMode is true void handleTicks(); - basegfx::B2DPoint toMatrixPoint(uno::Reference<presentation::XSlideShowView> xView, - basegfx::B2DPoint pnt); - basegfx::B2DPoint toNormalPoint(uno::Reference<presentation::XSlideShowView> xView, - basegfx::B2DPoint pnt); + basegfx::B2DPoint toMatrixPoint(const uno::Reference<presentation::XSlideShowView>& xView, + const basegfx::B2DPoint& pnt); + basegfx::B2DPoint toNormalPoint(const uno::Reference<presentation::XSlideShowView>& xView, + const basegfx::B2DPoint& pnt); EventQueue& mrEventQueue; UnoViewContainer const& mrViewContainer; @@ -578,8 +578,8 @@ void EventMultiplexerImpl::handleTicks() } basegfx::B2DPoint -EventMultiplexerImpl::toNormalPoint(uno::Reference<presentation::XSlideShowView> xView, - basegfx::B2DPoint pnt) +EventMultiplexerImpl::toNormalPoint(const uno::Reference<presentation::XSlideShowView>& xView, + const basegfx::B2DPoint& pnt) { UnoViewVector::const_iterator aIter; const UnoViewVector::const_iterator aEnd(mrViewContainer.end()); @@ -601,8 +601,8 @@ EventMultiplexerImpl::toNormalPoint(uno::Reference<presentation::XSlideShowView> } basegfx::B2DPoint -EventMultiplexerImpl::toMatrixPoint(uno::Reference<presentation::XSlideShowView> xView, - basegfx::B2DPoint pnt) +EventMultiplexerImpl::toMatrixPoint(const uno::Reference<presentation::XSlideShowView>& xView, + const basegfx::B2DPoint& pnt) { UnoViewVector::const_iterator aIter; const UnoViewVector::const_iterator aEnd(mrViewContainer.end()); |