summaryrefslogtreecommitdiff
path: root/svx/sdi
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-19 22:40:09 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-19 22:40:09 +0100
commitdabd58773267c42a03cfa6c10ddf76944a40ef38 (patch)
treef7d0473745f22a7045e8825cc3ee4e4bac35162a /svx/sdi
parenta0c5d9c462f98ef6065e5ca31bf25d773bc4d6ad (diff)
dba33f: use Ctrl-F5 to toggle the focus between a control and the document. At least in Writer.
In this course, SID_FM_GRABCONTROLFOCUS has been renamed to SID_FM_TOGGLECONTROLFOCUS (with the UNO slot name also being affected.). Also, now Writer handles the SID_FM_TOGGLECONTROLFOCUS slot (instead of the FmFormShell), and calls the newly introduced ToggleControlFocus at the FmFormShell. A part of SwFEShell::GotoObj has been outsourced into SwFEShell::GetBestObject, which now can deliver the object (not only object group) of the given type, which is neares to the current position.
Diffstat (limited to 'svx/sdi')
-rw-r--r--svx/sdi/fmslots.sdi2
-rw-r--r--svx/sdi/svx.sdi2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/sdi/fmslots.sdi b/svx/sdi/fmslots.sdi
index f372c6ad5e4b..612df2fbafc0 100644
--- a/svx/sdi/fmslots.sdi
+++ b/svx/sdi/fmslots.sdi
@@ -660,7 +660,7 @@ shell FmFormShell
[
ExecMethod = Execute ;
]
- SID_FM_GRABCONTROLFOCUS
+ SID_FM_TOGGLECONTROLFOCUS
[
ExecMethod = Execute ;
]
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi
index e3826708c196..cfdc5f45aa5d 100644
--- a/svx/sdi/svx.sdi
+++ b/svx/sdi/svx.sdi
@@ -11728,7 +11728,7 @@ SfxVoidItem ZoomVisArea SID_SIZE_VISAREA
]
//--------------------------------------------------------------------------
-SfxVoidItem GrabControlFocus SID_FM_GRABCONTROLFOCUS
+SfxVoidItem ToggleControlFocus SID_FM_TOGGLECONTROLFOCUS
()
[
/* flags: */