diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-16 13:54:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-16 16:59:08 +0100 |
commit | 4e4a350dff08ef1393cd87d48e095e18bf423821 (patch) | |
tree | b6ad09e55dc3644c38e3cab86a58b34484ab0502 /sw/source/uibase/cctrl | |
parent | 564b8d8ed5243b95772194da33334ad72acf9594 (diff) |
we can shrink the NoSpaceEdit down further
Change-Id: I0ebb18a8ad2fec70ced535200139e5cd34822c84
Diffstat (limited to 'sw/source/uibase/cctrl')
-rw-r--r-- | sw/source/uibase/cctrl/actctrl.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
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(); |