diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 09:32:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 20:10:57 +0200 |
commit | 31f04378dbc07d4367dc3b66163aaed171cf0323 (patch) | |
tree | 803e8caa6fa9cecdab5e1a0047fbd334fd2ab1ee /sfx2/source/doc/autoredactdialog.cxx | |
parent | 2836b78b54650d117282a9a345677d1b4d9fc043 (diff) |
loplugin:passstuffbyref
Change-Id: Icb7c22cf4ac95eab54d04e79312fb471ca27bceb
Reviewed-on: https://gerrit.libreoffice.org/74246
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/autoredactdialog.cxx')
-rw-r--r-- | sfx2/source/doc/autoredactdialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/autoredactdialog.cxx b/sfx2/source/doc/autoredactdialog.cxx index 2a11a2a6e63a..cc0aa1456db8 100644 --- a/sfx2/source/doc/autoredactdialog.cxx +++ b/sfx2/source/doc/autoredactdialog.cxx @@ -182,7 +182,7 @@ OUString TargetsTable::GetNameProposal() return sDefaultTargetName + " " + OUString::number(nHighestTargetId + 1); } -void TargetsTable::setRowData(const int& nRowIndex, const RedactionTarget* pTarget) +void TargetsTable::setRowData(int nRowIndex, const RedactionTarget* pTarget) { OUString sContent = pTarget->sContent; @@ -675,8 +675,8 @@ SfxAddTargetDialog::SfxAddTargetDialog(weld::Window* pParent, const OUString& rN SfxAddTargetDialog::SfxAddTargetDialog(weld::Window* pParent, const OUString& sName, const RedactionTargetType& eTargetType, - const OUString& sContent, const bool& bCaseSensitive, - const bool& bWholeWords) + const OUString& sContent, bool bCaseSensitive, + bool bWholeWords) : GenericDialogController(pParent, "sfx/ui/addtargetdialog.ui", "AddTargetDialog") , m_xName(m_xBuilder->weld_entry("name")) , m_xType(m_xBuilder->weld_combo_box("type")) |