diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-15 14:02:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-15 14:02:47 +0100 |
commit | ec240eafe9b25620383aa54015f5c55e0f64227a (patch) | |
tree | 20914f1eb8a701302635e409f5dcae07afc839fb /sd/source/ui/toolpanel/ToolPanelViewShell.cxx | |
parent | 20015bfb1b10ebbd017e44b021656ae99006f845 (diff) |
Split construct into bits that depend on showing the window and not
This fixes a horrific a11y problem where Show triggers callbacks
to virtual methods, while the object is not fully constructed,
which means, that the *baseclass* virtual method is called,
not the *derived* virtual method that constructs the a11y wrapper
enable a11y, and run the smoketest with dbg-util before touching
this stuff
Diffstat (limited to 'sd/source/ui/toolpanel/ToolPanelViewShell.cxx')
-rw-r--r-- | sd/source/ui/toolpanel/ToolPanelViewShell.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx index 4b2918583cd0..d4c88166ae1c 100644 --- a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx +++ b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx @@ -483,6 +483,8 @@ ToolPanelViewShell::ToolPanelViewShell( SfxViewFrame* pFrame, ViewShellBase& rVi ,mpSubShellManager() ,mnMenuId(0) { + ViewShell::doShow(); + meShellType = ST_TASK_PANE; mpContentWindow->SetCenterAllowed( false ); |