[Libreoffice-commits] .: framework/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Oct 12 08:41:59 PDT 2012
framework/source/jobs/job.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 46a418af78d066db75999282ea255583e686380e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Oct 12 16:41:38 2012 +0100
loplugin: bad else if placement
Change-Id: I56e88a675adf37fdf52637ecbff6778a5215a16a
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx
index 7d7b631..cc881a4 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;
More information about the Libreoffice-commits
mailing list