diff options
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/eventmultiplexer.cxx | 8 | ||||
-rw-r--r-- | slideshow/source/inc/eventmultiplexer.hxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/slideshow/source/engine/eventmultiplexer.cxx b/slideshow/source/engine/eventmultiplexer.cxx index 80c4c13d9f466..a5135384b3118 100644 --- a/slideshow/source/engine/eventmultiplexer.cxx +++ b/slideshow/source/engine/eventmultiplexer.cxx @@ -1285,15 +1285,15 @@ void EventMultiplexer::notifyHyperlinkClicked( { return pHandler.getHandler()->handleHyperlink( hyperLink ); } ); } -basegfx::B2DPoint EventMultiplexer::toMatrixPoint(uno::Reference<uno::XInterface> xInterface, - basegfx::B2DPoint pnt) +basegfx::B2DPoint EventMultiplexer::toMatrixPoint(const uno::Reference<uno::XInterface>& xInterface, + const basegfx::B2DPoint& pnt) { uno::Reference<presentation::XSlideShowView> xView(xInterface, uno::UNO_QUERY_THROW); return mpImpl->toMatrixPoint(xView, pnt); } -basegfx::B2DPoint EventMultiplexer::toNormalPoint(uno::Reference<uno::XInterface> xInterface, - basegfx::B2DPoint pnt) +basegfx::B2DPoint EventMultiplexer::toNormalPoint(const uno::Reference<uno::XInterface>& xInterface, + const basegfx::B2DPoint& pnt) { uno::Reference<presentation::XSlideShowView> xView(xInterface, uno::UNO_QUERY_THROW); return mpImpl->toNormalPoint(xView, pnt); diff --git a/slideshow/source/inc/eventmultiplexer.hxx b/slideshow/source/inc/eventmultiplexer.hxx index 21fa333cd109a..6c9afb2466e90 100644 --- a/slideshow/source/inc/eventmultiplexer.hxx +++ b/slideshow/source/inc/eventmultiplexer.hxx @@ -650,11 +650,11 @@ public: */ void notifyHyperlinkClicked( OUString const& hyperLink ); - basegfx::B2DPoint toMatrixPoint(css::uno::Reference<css::uno::XInterface> xInterface, - basegfx::B2DPoint pnt); + basegfx::B2DPoint toMatrixPoint(const css::uno::Reference<css::uno::XInterface>& xInterface, + const basegfx::B2DPoint& pnt); - basegfx::B2DPoint toNormalPoint(css::uno::Reference<css::uno::XInterface> xInterface, - basegfx::B2DPoint pnt); + basegfx::B2DPoint toNormalPoint(const css::uno::Reference<css::uno::XInterface>& xInterface, + const basegfx::B2DPoint& pnt); private: std::unique_ptr<EventMultiplexerImpl> mpImpl; |