diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-27 15:08:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-28 11:21:17 +0000 |
commit | 48a8d6d8434908690bc2a51d27f1051bd550c9b0 (patch) | |
tree | 066f8fc9753bdba62f87f205baface6e729857bf /forms/source/xforms | |
parent | f7d6f3e4e3fda3cd4936880918e2831246634a3e (diff) |
loplugin:singlevalfields in various
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e
Reviewed-on: https://gerrit.libreoffice.org/26738
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'forms/source/xforms')
-rw-r--r-- | forms/source/xforms/xformsevent.cxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/xformsevent.hxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/forms/source/xforms/xformsevent.cxx b/forms/source/xforms/xformsevent.cxx index 7b12a235e23d..63bcc482539d 100644 --- a/forms/source/xforms/xformsevent.cxx +++ b/forms/source/xforms/xformsevent.cxx @@ -51,7 +51,7 @@ css::uno::Reference< css::xml::dom::events::XEventTarget > SAL_CALL XFormsEventC css::xml::dom::events::PhaseType SAL_CALL XFormsEventConcrete::getEventPhase() throw (RuntimeException, std::exception) { - return m_phase; + return css::xml::dom::events::PhaseType_CAPTURING_PHASE; } sal_Bool SAL_CALL XFormsEventConcrete::getBubbles() throw (RuntimeException, std::exception) diff --git a/forms/source/xforms/xformsevent.hxx b/forms/source/xforms/xformsevent.hxx index 6e8eff8f3f38..414458c04128 100644 --- a/forms/source/xforms/xformsevent.hxx +++ b/forms/source/xforms/xformsevent.hxx @@ -36,7 +36,6 @@ class XFormsEventConcrete : public cppu::WeakImplHelper< XFormsEvent > { XFormsEventConcrete() : m_canceled(false) - , m_phase(css::xml::dom::events::PhaseType_CAPTURING_PHASE) , m_bubbles(false) , m_cancelable(false) { @@ -74,7 +73,6 @@ class XFormsEventConcrete : public cppu::WeakImplHelper< XFormsEvent > { OUString m_eventType; css::uno::Reference< css::xml::dom::events::XEventTarget > m_target; css::uno::Reference< css::xml::dom::events::XEventTarget > m_currentTarget; - css::xml::dom::events::PhaseType m_phase; bool m_bubbles; bool m_cancelable; css::util::Time m_time; |