diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-07 13:24:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-07 12:41:15 +0000 |
commit | 3c140c01748a30da1f83254b28ca7ab7a620197e (patch) | |
tree | f3aca4b46628c6e309f59db339a4b8dd67f5ad82 /sw/source/uibase/ribbar | |
parent | cb26710b6b40df59f34dd6a65988cd55e32153b0 (diff) |
loplugin:singlevalfields
Change-Id: Ic7dd2cb433add02ecc72eee0c85dd7f0efe1d47b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143771
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/ribbar')
-rw-r--r-- | sw/source/uibase/ribbar/workctrl.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx index d72f6c3b2381..8d7338281a42 100644 --- a/sw/source/uibase/ribbar/workctrl.cxx +++ b/sw/source/uibase/ribbar/workctrl.cxx @@ -587,7 +587,6 @@ NavElementBox_Base::NavElementBox_Base(std::unique_ptr<weld::ComboBox> xComboBox uno::Reference<frame::XFrame> xFrame) : m_xComboBox(std::move(xComboBox)) ,m_xFrame(std::move(xFrame)) - ,m_bRelease(true) { m_xComboBox->set_size_request(150, -1); @@ -612,12 +611,6 @@ NavElementBox_Impl::NavElementBox_Impl(vcl::Window* pParent, void NavElementBox_Base::ReleaseFocus_Impl() { - if ( !m_bRelease ) - { - m_bRelease = true; - return; - } - if ( m_xFrame.is() && m_xFrame->getContainerWindow().is() ) m_xFrame->getContainerWindow()->setFocus(); } |