diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-01-25 20:31:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-26 08:30:42 +0100 |
commit | c83166ce7126b3c3c6aca8f6d2ab9cd9e16f5763 (patch) | |
tree | 2760b4870bf080fedcb40bf8c6f93c32030c4f7d /sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx | |
parent | a553c85cbd80a045b2e4742eefaa7fcc3953cb08 (diff) |
loplugin:passstuffbyref
Change-Id: I330e0ab6c9955939dad313f9d472f93e39dbd313
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109924
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx')
-rw-r--r-- | sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx b/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx index e2c3c15d0e24..05a1cff79097 100644 --- a/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx +++ b/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx @@ -367,7 +367,7 @@ static svx::sidebar::TreeNode LocaleToTreeNode(const OUString& rName, const css: static svx::sidebar::TreeNode PropertyToTreeNode(const css::beans::Property& rProperty, - const uno::Reference<beans::XPropertySet>& xPropertiesSet, const bool& rIsGrey) + const uno::Reference<beans::XPropertySet>& xPropertiesSet, const bool rIsGrey) { const OUString& rPropName = rProperty.Name; svx::sidebar::TreeNode aCurNode; @@ -401,7 +401,7 @@ PropertyToTreeNode(const css::beans::Property& rProperty, static void InsertValues(const css::uno::Reference<css::uno::XInterface>& rSource, std::unordered_map<OUString, bool>& rIsDefined, - svx::sidebar::TreeNode& rNode, const bool& isRoot, + svx::sidebar::TreeNode& rNode, const bool isRoot, const std::vector<OUString>& rHiddenProperty) { uno::Reference<beans::XPropertySet> xPropertiesSet(rSource, uno::UNO_QUERY_THROW); |