summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-18 18:31:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-18 21:18:29 +0200
commit18f202011661397d10ca4c2fa28fcf57b62221b0 (patch)
tree5a867f5bee6205e13172bb5c61315552d5dc9870 /sfx2/inc
parent2e74c1107bc8422ee7a819722f3f0a366127330f (diff)
loplugin:constparams
Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/commandpopup/CommandPopup.hxx2
-rw-r--r--sfx2/inc/sidebar/DeckLayouter.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/inc/commandpopup/CommandPopup.hxx b/sfx2/inc/commandpopup/CommandPopup.hxx
index 143f0de25adb..5cea112609ad 100644
--- a/sfx2/inc/commandpopup/CommandPopup.hxx
+++ b/sfx2/inc/commandpopup/CommandPopup.hxx
@@ -77,7 +77,7 @@ private:
std::function<bool(MenuContent const&, OUString const&)> const& rSearchCriterium);
void addCommandIfPossible(MenuContent const& rMenuContent,
- std::unique_ptr<weld::TreeView>& rpCommandTreeView,
+ const std::unique_ptr<weld::TreeView>& rpCommandTreeView,
std::vector<CurrentEntry>& rCommandList);
};
diff --git a/sfx2/inc/sidebar/DeckLayouter.hxx b/sfx2/inc/sidebar/DeckLayouter.hxx
index c814abd98921..a40868f4501c 100644
--- a/sfx2/inc/sidebar/DeckLayouter.hxx
+++ b/sfx2/inc/sidebar/DeckLayouter.hxx
@@ -33,7 +33,7 @@ class SidebarDockingWindow;
namespace DeckLayouter
{
void LayoutDeck (
- SidebarDockingWindow* pDockingWindow,
+ const SidebarDockingWindow* pDockingWindow,
const tools::Rectangle& rContentArea,
sal_Int32& rMinimalWidth,
sal_Int32& rMinimalHeight,