summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 09:09:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 12:00:51 +0100
commit94ab2ad8c55a6da110b3c9892c9da7289bf32174 (patch)
treef89a2c56609b1926ef979d4892e1507892d94d9d /sfx2/source/inc
parentbb30e9e591d5f9f913b3cd8fbaa3c5e412b509bd (diff)
loplugin:constparams in sfx2
Change-Id: I27102bc0e7d92d50e89248d463fb3fe4048536f3 Reviewed-on: https://gerrit.libreoffice.org/66769 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/workwin.hxx2
1 files changed, 1 insertions, 1 deletions
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<SfxModelessDialogController>& rChild,
+ SfxChild_Impl(const std::shared_ptr<SfxModelessDialogController>& rChild,
SfxChildAlignment eAlignment):
pWin(nullptr), xController(rChild), eAlign(eAlignment), bResize(false),
bSetFocus( false )