From d76dc580a2cb60794e91b921008b8585d5a137e4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 27 Jan 2014 14:31:56 +0000 Subject: coverity#982152 Unchecked return value Change-Id: I58fd11e38fa0b8ba7efeff8861aeec17742999c3 --- basctl/source/basicide/baside2.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'basctl/source') 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: -- cgit