diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-21 13:38:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-22 14:14:48 +0200 |
commit | 7fb43031b7eec663768f5a4e78e60da86379df41 (patch) | |
tree | 026dd9b5a522aec8534763af074fc4a28ccfa58d /sfx2/source/sidebar | |
parent | 61ea11e51ceeaec7bf197a076cf40d96bd65ad07 (diff) |
loplugin:constantparam
Change-Id: Ibfe70492683ff3ec208cee95d8a11155ec54f690
Reviewed-on: https://gerrit.libreoffice.org/81314
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index f04278a25852..794cfef82b81 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -74,13 +74,13 @@ namespace const static sal_Int32 gnWidthCloseThreshold (70); const static sal_Int32 gnWidthOpenThreshold (40); - std::string UnoNameFromDeckId(const OUString& rsDeckId, bool isDraw=false) + std::string UnoNameFromDeckId(const OUString& rsDeckId) { if (rsDeckId == "SdCustomAnimationDeck") return ".uno:CustomAnimation"; if (rsDeckId == "PropertyDeck") - return isDraw ? ".uno:ModifyPage" : ".uno:Sidebar"; + return ".uno:Sidebar"; if (rsDeckId == "SdLayoutsDeck") return ".uno:ModifyPage"; |