[Libreoffice-commits] core.git: sfx2/source svx/source

Thomas Arnhold thomas at arnhold.org
Thu Mar 21 16:49:09 PDT 2013


 sfx2/source/appl/newhelp.cxx         |   10 +++++-----
 svx/source/table/tablecontroller.cxx |    4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 3dd40efee6ca280ef205c75517621b5f8d5089cd
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Fri Mar 22 00:48:24 2013 +0100

    strg is ctrl in english
    
    Change-Id: I569bfa7c9d461a5af0ef6e6f37bf717255936b78

diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 40f9420..df962be 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -1809,7 +1809,7 @@ long SfxHelpIndexWindow_Impl::PreNotify( NotifyEvent& rNEvt )
             }
             else if ( bCtrl )
             {
-                // <STRG><TAB> moves through the pages
+                // <CTRL><TAB> moves through the pages
                 if ( nPageId < HELP_INDEX_PAGE_LAST )
                     nPageId++;
                 else
@@ -2316,8 +2316,8 @@ bool SfxHelpTextWindow_Impl::isHandledKey( const KeyCode& _rKeyCode )
     bool bRet = false;
     sal_uInt16 nCode = _rKeyCode.GetCode();
 
-    // the keys <STRG><A> (select all), <STRG><C> (copy),
-    //          <STRG><F> (find), <STRG><P> (print) and <STRG><W> (close window)
+    // the keys <CTRL><A> (select all), <CTRL><C> (copy),
+    //          <CTRL><F> (find), <CTRL><P> (print) and <CTRL><W> (close window)
     // were handled in help
     if ( _rKeyCode.IsMod1() &&
          ( KEY_A == nCode || KEY_C == nCode || KEY_F == nCode || KEY_P == nCode || KEY_W == nCode ) )
@@ -2632,7 +2632,7 @@ long SfxHelpTextWindow_Impl::PreNotify( NotifyEvent& rNEvt )
          }
         else if ( rKeyCode.IsMod1() && ( KEY_F4 == nKey || KEY_W == nKey ) )
         {
-            // <STRG><F4> or <STRG><W> -> close top frame
+            // <CTRL><F4> or <CTRL><W> -> close top frame
             pHelpWin->CloseWindow();
             nDone = 1;
         }
@@ -3229,7 +3229,7 @@ long SfxHelpWindow_Impl::PreNotify( NotifyEvent& rNEvt )
         }
         else if ( rKeyCode.IsMod1() && ( KEY_F4 == nKey || KEY_W == nKey ) )
         {
-            // <STRG><F4> or <STRG><W> -> close top frame
+            // <CTRL><F4> or <CTRL><W> -> close top frame
             CloseWindow();
             bHandled = sal_True;
         }
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 1a888ba..1cb3035 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -1291,7 +1291,7 @@ sal_uInt16 SvxTableController::getKeyboardAction( const KeyEvent& rKEvt, Window*
         {
             if( bMod1 && !bMod2 )
             {
-                // strg + home jumps to first cell
+                // ctrl + home jumps to first cell
                 nAction = ACTION_GOTO_FIRST_CELL;
             }
             else if( !bMod1 && bMod2 )
@@ -1309,7 +1309,7 @@ sal_uInt16 SvxTableController::getKeyboardAction( const KeyEvent& rKEvt, Window*
         {
             if( bMod1 && !bMod2 )
             {
-                // strg + end jumps to last cell
+                // ctrl + end jumps to last cell
                 nAction = ACTION_GOTO_LAST_CELL;
             }
             else if( !bMod1 && bMod2 )


More information about the Libreoffice-commits mailing list