From 4e4a350dff08ef1393cd87d48e095e18bf423821 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 16 Jun 2014 13:54:14 +0100 Subject: we can shrink the NoSpaceEdit down further Change-Id: I0ebb18a8ad2fec70ced535200139e5cd34822c84 --- sw/source/uibase/cctrl/actctrl.cxx | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'sw/source/uibase/cctrl') diff --git a/sw/source/uibase/cctrl/actctrl.cxx b/sw/source/uibase/cctrl/actctrl.cxx index eb5fe931fae6..4009eadf9f2b 100644 --- a/sw/source/uibase/cctrl/actctrl.cxx +++ b/sw/source/uibase/cctrl/actctrl.cxx @@ -54,23 +54,6 @@ NoSpaceEdit::NoSpaceEdit(Window* pParent) { } -NoSpaceEdit::~NoSpaceEdit() -{ -} - -void NoSpaceEdit::KeyInput(const KeyEvent& rEvt) -{ - bool bCallParent = true; - if(rEvt.GetCharCode()) - { - OUString sKey(rEvt.GetCharCode()); - if( -1 != sForbiddenChars.indexOf(sKey)) - bCallParent = false; - } - if(bCallParent) - Edit::KeyInput(rEvt); -} - void NoSpaceEdit::Modify() { Selection aSel = GetSelection(); -- cgit