summaryrefslogtreecommitdiff
path: root/vcl/source/uitest
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-17 13:41:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-17 21:42:30 +0100
commit34f1883e35ef9d8c35502b092b75b39ab47d221c (patch)
treeb6392cca95e0a87415bb77089509ea0a02ee60ea /vcl/source/uitest
parentc0a70da29a213e11717fc1dad96f808a170dc53b (diff)
coverity#1427627 'Constant' variable guards dead code
Change-Id: I1b286dbacdcff35baf7c7802eec85859ae8e78c2 Reviewed-on: https://gerrit.libreoffice.org/48052 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/uitest')
-rw-r--r--vcl/source/uitest/uiobject.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index 3bf276a4e4d0..2e404df6c2d7 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -708,6 +708,10 @@ void MultiLineEditUIObject::execute(const OUString& rAction,
mxEdit->SetSelection(aSelection);
}
}
+ else
+ {
+ bHandled = false;
+ }
if (!bHandled)
WindowUIObject::execute(rAction, rParameters);