diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 09:27:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 11:39:01 +0200 |
commit | 7ed178077cc1348d72ae936a2762085e278d79d0 (patch) | |
tree | 647c72fc783a77f2347ee06a63e22eee79fef99c /sfx2/source/sidebar | |
parent | bc7a68d06c0fd92b8eda473600438fd6dc2164c6 (diff) |
loplugin:constparams in sfx2
Change-Id: Id982c8fb5654433e9db10e2da6a86a6c8d90b9b4
Reviewed-on: https://gerrit.libreoffice.org/40261
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/Deck.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarChildWindow.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx index b3937be0f376..90bbe1ed8b0b 100644 --- a/sfx2/source/sidebar/Deck.cxx +++ b/sfx2/source/sidebar/Deck.cxx @@ -165,7 +165,7 @@ bool Deck::EventNotify(NotifyEvent& rEvent) return Window::EventNotify(rEvent); } -bool Deck::ProcessWheelEvent(CommandEvent* pCommandEvent) +bool Deck::ProcessWheelEvent(CommandEvent const * pCommandEvent) { if ( ! mpVerticalScrollBar) return false; diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx index c5be03bc17ec..1ffacbe29cde 100644 --- a/sfx2/source/sidebar/SidebarChildWindow.cxx +++ b/sfx2/source/sidebar/SidebarChildWindow.cxx @@ -63,7 +63,7 @@ SidebarChildWindow::SidebarChildWindow (vcl::Window* pParentWindow, sal_uInt16 n GetWindow()->Show(); } -sal_Int32 SidebarChildWindow::GetDefaultWidth (vcl::Window* pWindow) +sal_Int32 SidebarChildWindow::GetDefaultWidth (vcl::Window const * pWindow) { if (pWindow != nullptr) { |