summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-07-24 17:40:49 +0100
committerGergo Mocsi <gmocsi91@gmail.com>2013-09-02 18:16:49 +0200
commit59520bd3f1cd619cfe02ea1d6c8d8888413fd9af (patch)
tree765d0d98a2fc52351682e8aa2d95b9750f703b9c /basctl
parente70a436fe343c6689c0122b1bd31e04cb0d5f04b (diff)
remove strange added Invalidate bits
Change-Id: I61f4a6af62d67f2fd5f421e2173cca179d399815
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 4f2431e0063e..28ed40d957ed 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -601,20 +601,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 );
}