From 45df690b078dc9c44fc83f0d431eeeeb53710cfa Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 12 Dec 2023 10:54:15 +0000 Subject: cid#1559173 COPY_INSTEAD_OF_MOVE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- slideshow/source/engine/eventmultiplexer.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'slideshow') 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 xView, - basegfx::B2DPoint pnt); - basegfx::B2DPoint toNormalPoint(uno::Reference xView, - basegfx::B2DPoint pnt); + basegfx::B2DPoint toMatrixPoint(const uno::Reference& xView, + const basegfx::B2DPoint& pnt); + basegfx::B2DPoint toNormalPoint(const uno::Reference& xView, + const basegfx::B2DPoint& pnt); EventQueue& mrEventQueue; UnoViewContainer const& mrViewContainer; @@ -578,8 +578,8 @@ void EventMultiplexerImpl::handleTicks() } basegfx::B2DPoint -EventMultiplexerImpl::toNormalPoint(uno::Reference xView, - basegfx::B2DPoint pnt) +EventMultiplexerImpl::toNormalPoint(const uno::Reference& xView, + const basegfx::B2DPoint& pnt) { UnoViewVector::const_iterator aIter; const UnoViewVector::const_iterator aEnd(mrViewContainer.end()); @@ -601,8 +601,8 @@ EventMultiplexerImpl::toNormalPoint(uno::Reference } basegfx::B2DPoint -EventMultiplexerImpl::toMatrixPoint(uno::Reference xView, - basegfx::B2DPoint pnt) +EventMultiplexerImpl::toMatrixPoint(const uno::Reference& xView, + const basegfx::B2DPoint& pnt) { UnoViewVector::const_iterator aIter; const UnoViewVector::const_iterator aEnd(mrViewContainer.end()); -- cgit