diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-09 14:48:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-09 17:50:44 +0200 |
commit | 842a5504119c49edf368b94889f098e76f5fb80d (patch) | |
tree | ca3dfac7ccb73ce23e77a0c16437d89f83226970 /sc/source/ui/pagedlg | |
parent | a5d6dc7ac82cf6f527a47bf67f976f982c2c0015 (diff) |
drop unnecessary pWin arg to InitAcc
on the only path InitAcc has a non-null pWin arg the caller ctor
has already set mpWindow to pWin which is also all that InitAcc does
with its pWin arg
Change-Id: I668232117be41fd33bf9ca41db882b5124d61ff0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116923
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r-- | sc/source/ui/pagedlg/tphfedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx index 40cea53f9c91..c71c67b0842b 100644 --- a/sc/source/ui/pagedlg/tphfedit.cxx +++ b/sc/source/ui/pagedlg/tphfedit.cxx @@ -105,7 +105,7 @@ void ScEditWindow::SetDrawingArea(weld::DrawingArea* pDrawingArea) break; } - tmpAcc->InitAcc(nullptr, m_xEditView.get(), nullptr, + tmpAcc->InitAcc(nullptr, m_xEditView.get(), sName, pDrawingArea->get_tooltip_text()); } |