diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-12 16:41:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-12 16:41:38 +0100 |
commit | 46a418af78d066db75999282ea255583e686380e (patch) | |
tree | ce5480244f4a62a740ccb828318812e3415bbbe2 /framework | |
parent | grr I wanted can+has *default* not *focus* (diff) | |
download | core-46a418af78d066db75999282ea255583e686380e.tar.gz core-46a418af78d066db75999282ea255583e686380e.zip |
loplugin: bad else if placement
Change-Id: I56e88a675adf37fdf52637ecbff6778a5215a16a
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/jobs/job.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx index 7d7b6317d7f2..cc881a4d424d 100644 --- a/framework/source/jobs/job.cxx +++ b/framework/source/jobs/job.cxx @@ -898,14 +898,12 @@ void SAL_CALL Job::disposing( const css::lang::EventObject& aEvent ) throw(css:: m_xDesktop = css::uno::Reference< css::frame::XDesktop >(); m_bListenOnDesktop = sal_False; } - else - if (m_xFrame.is() && aEvent.Source == m_xFrame) + else if (m_xFrame.is() && aEvent.Source == m_xFrame) { m_xFrame = css::uno::Reference< css::frame::XFrame >(); m_bListenOnFrame = sal_False; } - else - if (m_xModel.is() && aEvent.Source == m_xModel) + else if (m_xModel.is() && aEvent.Source == m_xModel) { m_xModel = css::uno::Reference< css::frame::XModel >(); m_bListenOnModel = sal_False; |