From 94ab2ad8c55a6da110b3c9892c9da7289bf32174 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 23 Jan 2019 09:09:27 +0200 Subject: loplugin:constparams in sfx2 Change-Id: I27102bc0e7d92d50e89248d463fb3fe4048536f3 Reviewed-on: https://gerrit.libreoffice.org/66769 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/inc/workwin.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/inc') diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index 04fa88c68953..040065f62543 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -100,7 +100,7 @@ struct SfxChild_Impl nVisible = bIsVisible ? SfxChildVisibility::VISIBLE : SfxChildVisibility::NOT_VISIBLE; } - SfxChild_Impl(std::shared_ptr& rChild, + SfxChild_Impl(const std::shared_ptr& rChild, SfxChildAlignment eAlignment): pWin(nullptr), xController(rChild), eAlign(eAlignment), bResize(false), bSetFocus( false ) -- cgit