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 /starmath/source | |
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 'starmath/source')
-rw-r--r-- | starmath/source/dialog.cxx | 4 | ||||
-rw-r--r-- | starmath/source/edit.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 66f42f6c662f..b3dc324a0d5f 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -181,7 +181,7 @@ SmPrintOptionsTabPage::SmPrintOptionsTabPage(weld::Container* pPage, weld::Dialo SmPrintOptionsTabPage::~SmPrintOptionsTabPage() { - SmGetActiveView()->GetEditWindow()->UpdateStatus(false); + SmGetActiveView()->GetEditWindow()->UpdateStatus(); } bool SmPrintOptionsTabPage::FillItemSet(SfxItemSet* rSet) @@ -204,7 +204,7 @@ bool SmPrintOptionsTabPage::FillItemSet(SfxItemSet* rSet) rSet->Put(SfxBoolItem(SID_AUTO_CLOSE_BRACKETS, m_xAutoCloseBrackets->get_active())); rSet->Put(SfxUInt16Item(SID_SMEDITWINDOWZOOM, sal::static_int_cast<sal_uInt16>(m_xSmZoom->get_value(FieldUnit::PERCENT)))); - SmGetActiveView()->GetEditWindow()->UpdateStatus(false); + SmGetActiveView()->GetEditWindow()->UpdateStatus(); return true; } diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index 6b192a930d97..2440a92be948 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -715,9 +715,9 @@ void SmEditTextWindow::UpdateStatus(bool bSetDocModified) static_cast<SmEditEngine*>(GetEditEngine())->executeZoom(GetEditView()); } -void SmEditWindow::UpdateStatus(bool bSetDocModified) +void SmEditWindow::UpdateStatus() { - mxTextControl->UpdateStatus(bSetDocModified); + mxTextControl->UpdateStatus(/*bSetDocModified*/false); } void SmEditWindow::Cut() |