diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-24 08:54:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-24 15:06:24 +0100 |
commit | ceb8f5d62c7afc5547c9a6de8eb570a11b5fbd67 (patch) | |
tree | 2782cb4bb3adfe5ad11caa8f5a9c18b82bb03ee4 /sw/source/uibase | |
parent | 86fac2109d3b5e159628aee6392ecc856fb8a5a6 (diff) |
loplugin:constantparam
Change-Id: I86592be0717c062a918108bf4437074b0f70b372
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132029
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/docvw/romenu.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/lingu/olmenu.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx index a252c16b0140..a9319e70d158 100644 --- a/sw/source/uibase/docvw/romenu.cxx +++ b/sw/source/uibase/docvw/romenu.cxx @@ -217,7 +217,7 @@ SwReadOnlyPopup::SwReadOnlyPopup(const Point &rDPos, SwView &rV) } Check(m_nReadonlyFullscreen, SID_WIN_FULLSCREEN, rDis); - m_xMenu->RemoveDisabledEntries( true, true ); + m_xMenu->RemoveDisabledEntries( true ); } void SwReadOnlyPopup::Execute( vcl::Window* pWin, const Point &rPixPos ) diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index a145c2a54878..68855b28f1b5 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -398,7 +398,7 @@ SwSpellPopup::SwSpellPopup( vcl::CommandInfoProvider::GetImageForCommand(".uno:SpellingAndGrammarDialog", xFrame)); checkRedline(); - m_xPopupMenu->RemoveDisabledEntries( true, true ); + m_xPopupMenu->RemoveDisabledEntries( true ); InitItemCommands(aSuggestions); } @@ -555,7 +555,7 @@ SwSpellPopup::SwSpellPopup( vcl::CommandInfoProvider::GetImageForCommand(".uno:SpellingAndGrammarDialog", xFrame)); checkRedline(); - m_xPopupMenu->RemoveDisabledEntries(true, true); + m_xPopupMenu->RemoveDisabledEntries(true); SvtLinguConfig().SetProperty( UPN_IS_GRAMMAR_INTERACTIVE, uno::makeAny( true )); |