diff options
author | Noel Power <noel.power@suse.com> | 2013-07-24 17:40:49 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-07-24 17:40:49 +0100 |
commit | ac87d08754d19ed68103449b128d5dbae21ee68e (patch) | |
tree | b1cdfbe0da49afbd2bbb5b76ab6cc8c316ddeaaa | |
parent | 5016203ca41c83f9415388b868a531d30c20cb62 (diff) |
remove strange added Invalidate bits
Change-Id: I61f4a6af62d67f2fd5f421e2173cca179d399815
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index d561997fc227..ac1f0c959bee 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -595,20 +595,15 @@ void EditorWindow::KeyInput( const KeyEvent& rKEvt ) { if (SfxBindings* pBindings = GetBindingsPtr()) { - pBindings->Invalidate( SID_CUT ); - pBindings->Invalidate( SID_COPY ); pBindings->Invalidate( SID_BASICIDE_STAT_POS ); - if ( rKEvt.GetKeyCode().GetGroup() == KEYGROUP_CURSOR ) pBindings->Update( SID_BASICIDE_STAT_POS ); - if ( !bWasModified && pEditEngine->IsModified() ) { pBindings->Invalidate( SID_SAVEDOC ); pBindings->Invalidate( SID_DOC_MODIFIED ); pBindings->Invalidate( SID_UNDO ); } - if ( rKEvt.GetKeyCode().GetCode() == KEY_INSERT ) pBindings->Invalidate( SID_ATTR_INSERT ); } |