slideshow/source/engine/eventmultiplexer.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
New commits: commit 45df690b078dc9c44fc83f0d431eeeeb53710cfa Author: Caolán McNamara <[email protected]> AuthorDate: Tue Dec 12 10:54:15 2023 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Tue Dec 12 16:08:24 2023 +0100 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 <[email protected]> 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());
