basctl/source/basicide/baside2b.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit ac87d08754d19ed68103449b128d5dbae21ee68e
Author: Noel Power <noel.po...@suse.com>
Date:   Wed Jul 24 17:40:49 2013 +0100

    remove strange added Invalidate bits
    
    Change-Id: I61f4a6af62d67f2fd5f421e2173cca179d399815

diff --git a/basctl/source/basicide/baside2b.cxx 
b/basctl/source/basicide/baside2b.cxx
index d561997..ac1f0c9 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 );
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to