diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-04-18 10:16:30 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-04-18 10:16:30 +0000 |
commit | cbb8726d1a2c93ec25012a1c02d11197a4257c69 (patch) | |
tree | 743909f13a53917d7dde4c55c22183a7c6062a90 /sd/source/ui | |
parent | 20a97308433faa45615a508b31af30c9d96f6123 (diff) |
INTEGRATION: CWS impress46 (1.18.14); FILE MERGED
2005/04/11 11:13:15 af 1.18.14.1: #i46822# Switching to TextObjectBar before starting the text edit mode.
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 203277e96ea1..3e27d241fae7 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -2,9 +2,9 @@ * * $RCSfile: Outliner.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: vg $ $Date: 2005-03-23 14:04:24 $ + * last change: $Author: obo $ $Date: 2005-04-18 11:16:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -179,6 +179,7 @@ #include "ViewShellBase.hxx" #endif #include "SpellDialogChildWindow.hxx" +#include "ObjectBarManager.hxx" using namespace ::rtl; using namespace ::com::sun::star; @@ -963,6 +964,10 @@ void Outliner::RestoreStartPosition (void) if (mpStartEditedObject != NULL) { + // Turn on the text toolbar as it is done in FuText so that + // undo manager setting/restoring in + // sd::View::{Beg,End}TextEdit() works on the same view shell. + mpViewShell->GetObjectBarManager().SwitchObjectBar(RID_DRAW_TEXT_TOOLBOX); SdrPageView* pPageView = mpView->GetPageViewPvNum(0); mpView->BegTextEdit (mpStartEditedObject); |