summaryrefslogtreecommitdiff
path: root/basctl/source/basicide
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 14:31:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 14:38:39 +0000
commitd76dc580a2cb60794e91b921008b8585d5a137e4 (patch)
treeb4b9407aa19b45bf5c7ab22a9f57f3eb1c1df80e /basctl/source/basicide
parentec7c8f4ed1893711313221dd5fc46b6b37433df9 (diff)
coverity#982152 Unchecked return value
Change-Id: I58fd11e38fa0b8ba7efeff8861aeec17742999c3
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r--basctl/source/basicide/baside2.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index c9719ffd13e4..d8312b51d5af 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -948,7 +948,11 @@ void ModulWindow::ExecuteCommand (SfxRequest& rReq)
case SID_DELETE:
{
KeyEvent aFakeDelete( 0, KEY_DELETE );
- GetEditView()->KeyInput( aFakeDelete );
+ bool bDone = GetEditView()->KeyInput( aFakeDelete );
+ if (!bDone)
+ {
+ BaseWindow::KeyInput(aFakeDelete);
+ }
break;
}
case SID_SELECTALL: