From 03fd8d24c2e4603731e796b24e51289736c65621 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Apr 2016 15:29:25 +0200 Subject: clang-tidy performance-unnecessary-value-param in vcl Change-Id: I403f148060891feec56d7d2ef173a9c4934baf9e Reviewed-on: https://gerrit.libreoffice.org/23995 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/floatwin.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/vcl/floatwin.hxx') diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx index d414fb811a93..92ca7937d4a0 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -131,7 +131,7 @@ public: sal_uInt16& rArrangeIndex ); static Point ImplConvertToAbsPos(vcl::Window* pReference, const Point& rPos); static Rectangle ImplConvertToAbsPos(vcl::Window* pReference, const Rectangle& rRect); - SAL_DLLPRIVATE void ImplEndPopupMode( FloatWinPopupEndFlags nFlags = FloatWinPopupEndFlags::NONE, VclPtr xFocusId = nullptr ); + SAL_DLLPRIVATE void ImplEndPopupMode( FloatWinPopupEndFlags nFlags = FloatWinPopupEndFlags::NONE, const VclPtr& xFocusId = nullptr ); SAL_DLLPRIVATE Rectangle& ImplGetItemEdgeClipRect(); SAL_DLLPRIVATE bool ImplIsInPrivatePopupMode() const { return mbInPopupMode; } virtual void doDeferredInit(WinBits nBits) override; -- cgit