diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-28 13:48:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 08:00:29 +0100 |
commit | 31f71635a136daf36d554e0c20db9ae0d1686c23 (patch) | |
tree | ba4150e1c999a15362faa18863a4a5105bd5a8d7 /sdext | |
parent | 38f5e768b0f858f8f990a8f297396821c75d45dc (diff) |
loplugin:passstuffbyref improved return in ucb,connectivity
Change-Id: Ib2590648c9dced87693a58a506cb62d04e37b18d
Reviewed-on: https://gerrit.libreoffice.org/47149
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterPaneBorderPainter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<rendering::XCanvasFont> GetFont ( + Reference<rendering::XCanvasFont> const & GetFont ( const Reference<rendering::XCanvas>& rxCanvas) const; SharedBitmapDescriptor mpTopLeft; @@ -873,7 +873,7 @@ awt::Rectangle RendererPaneStyle::RemoveBorder ( rBox.Height - pBorderSize->mnTop - pBorderSize->mnBottom); } -const Reference<rendering::XCanvasFont> RendererPaneStyle::GetFont ( +Reference<rendering::XCanvasFont> const & RendererPaneStyle::GetFont ( const Reference<rendering::XCanvas>& rxCanvas) const { if (mpFont.get() != nullptr) |