From 31f71635a136daf36d554e0c20db9ae0d1686c23 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 28 Dec 2017 13:48:31 +0200 Subject: loplugin:passstuffbyref improved return in ucb,connectivity Change-Id: Ib2590648c9dced87693a58a506cb62d04e37b18d Reviewed-on: https://gerrit.libreoffice.org/47149 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sdext/source/presenter/PresenterPaneBorderPainter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdext') diff --git a/sdext/source/presenter/PresenterPaneBorderPainter.cxx b/sdext/source/presenter/PresenterPaneBorderPainter.cxx index 764c7dc0560c..30e303337478 100644 --- a/sdext/source/presenter/PresenterPaneBorderPainter.cxx +++ b/sdext/source/presenter/PresenterPaneBorderPainter.cxx @@ -69,7 +69,7 @@ namespace { awt::Rectangle RemoveBorder ( const awt::Rectangle& rBox, drawing::framework::BorderType eBorderType) const; - const Reference GetFont ( + Reference const & GetFont ( const Reference& rxCanvas) const; SharedBitmapDescriptor mpTopLeft; @@ -873,7 +873,7 @@ awt::Rectangle RendererPaneStyle::RemoveBorder ( rBox.Height - pBorderSize->mnTop - pBorderSize->mnBottom); } -const Reference RendererPaneStyle::GetFont ( +Reference const & RendererPaneStyle::GetFont ( const Reference& rxCanvas) const { if (mpFont.get() != nullptr) -- cgit