diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-24 08:34:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-24 19:18:10 +0100 |
commit | 902698412183e93a1bd018200c63054a422f2636 (patch) | |
tree | 67daeba1b5cdb805f05f5ebcff0105d82e37f2a5 /winaccessibility | |
parent | 9c8ae146042a28d1d56b7c672d5b3a9d659515b4 (diff) |
loplugin:emptyif (clang-cl)
Change-Id: I8ddf764f9e155c037e25855b7d6efc49eb494179
Reviewed-on: https://gerrit.libreoffice.org/48483
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'winaccessibility')
6 files changed, 0 insertions, 24 deletions
diff --git a/winaccessibility/source/service/AccContainerEventListener.cxx b/winaccessibility/source/service/AccContainerEventListener.cxx index dc66b4b3df06..fefdd50827a6 100644 --- a/winaccessibility/source/service/AccContainerEventListener.cxx +++ b/winaccessibility/source/service/AccContainerEventListener.cxx @@ -137,8 +137,6 @@ void AccContainerEventListener::HandleChildChangedEvent(Any oldValue, Any newVal pAgent->NotifyAccEvent(UM_EVENT_CHILD_ADDED, pAcc); } } - else - {} } else if (oldValue >>= xChild) { @@ -153,8 +151,6 @@ void AccContainerEventListener::HandleChildChangedEvent(Any oldValue, Any newVal pAgent->DeleteAccObj( pAcc ); } - else - {} } } diff --git a/winaccessibility/source/service/AccDescendantManagerEventListener.cxx b/winaccessibility/source/service/AccDescendantManagerEventListener.cxx index 71b77ff131c1..3f865cd2e27d 100644 --- a/winaccessibility/source/service/AccDescendantManagerEventListener.cxx +++ b/winaccessibility/source/service/AccDescendantManagerEventListener.cxx @@ -96,8 +96,6 @@ void AccDescendantManagerEventListener::HandleChildChangedEvent(Any oldValue, An pAgent->NotifyAccEvent(UM_EVENT_CHILD_ADDED, pAcc); } - else - {} } if (oldValue >>= xChild) @@ -110,8 +108,6 @@ void AccDescendantManagerEventListener::HandleChildChangedEvent(Any oldValue, An pAgent->DeleteChildrenAccObj( pAcc ); pAgent->DeleteAccObj( pAcc ); } - else - {} } } diff --git a/winaccessibility/source/service/AccDialogEventListener.cxx b/winaccessibility/source/service/AccDialogEventListener.cxx index e75341c04127..c67b7ed6bf74 100644 --- a/winaccessibility/source/service/AccDialogEventListener.cxx +++ b/winaccessibility/source/service/AccDialogEventListener.cxx @@ -84,8 +84,6 @@ void AccDialogEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) pAgent->InsertChildrenAccObj(pAcc); pAgent->NotifyAccEvent(UM_EVENT_CHILD_ADDED, pAcc); } - else - {} } else if (oldValue >>= xChild) { @@ -99,8 +97,6 @@ void AccDialogEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) //delete this child pAgent->DeleteAccObj( pAcc ); } - else - {} } } diff --git a/winaccessibility/source/service/AccFrameEventListener.cxx b/winaccessibility/source/service/AccFrameEventListener.cxx index 51f8bb579b59..8f7a6bc32753 100644 --- a/winaccessibility/source/service/AccFrameEventListener.cxx +++ b/winaccessibility/source/service/AccFrameEventListener.cxx @@ -97,8 +97,6 @@ void AccFrameEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) pAgent->InsertChildrenAccObj(pAcc); pAgent->NotifyAccEvent(UM_EVENT_CHILD_ADDED, pAcc); } - else - {} } else if (oldValue >>= xChild) { @@ -112,8 +110,6 @@ void AccFrameEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) //delete this child pAgent->DeleteAccObj( pAcc ); } - else - {} } } diff --git a/winaccessibility/source/service/AccMenuEventListener.cxx b/winaccessibility/source/service/AccMenuEventListener.cxx index 6713afc76952..623997177e9f 100644 --- a/winaccessibility/source/service/AccMenuEventListener.cxx +++ b/winaccessibility/source/service/AccMenuEventListener.cxx @@ -83,8 +83,6 @@ void AccMenuEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) pAgent->InsertChildrenAccObj(pAcc); pAgent->NotifyAccEvent(UM_EVENT_CHILD_ADDED, pAcc); } - else - {} } else if (oldValue >>= xChild) { @@ -98,8 +96,6 @@ void AccMenuEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) //delete this child pAgent->DeleteAccObj( pAcc ); } - else - {} } } diff --git a/winaccessibility/source/service/AccWindowEventListener.cxx b/winaccessibility/source/service/AccWindowEventListener.cxx index d49df491c7f4..ff68da52fda8 100644 --- a/winaccessibility/source/service/AccWindowEventListener.cxx +++ b/winaccessibility/source/service/AccWindowEventListener.cxx @@ -84,8 +84,6 @@ void AccWindowEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) pAgent->InsertChildrenAccObj(pAcc); pAgent->NotifyAccEvent(UM_EVENT_CHILD_ADDED, pAcc); } - else - {} } else if (oldValue >>= xChild) { @@ -98,8 +96,6 @@ void AccWindowEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) //delete this child pAgent->DeleteAccObj( pAcc ); } - else - {} } } |