diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-04-08 15:32:59 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-04-08 15:32:59 +0000 |
commit | 6167f208908bbeb7a292d54c01d0e627bdf83a3f (patch) | |
tree | 033f4beb225a9e9ed60d980f5e2339c3a06ee5f9 | |
parent | ed6d48dd248968d940f6377e0f6b27fc01126cfb (diff) |
INTEGRATION: CWS calc06 (1.16.2.1.26); FILE MERGED
2003/03/28 11:45:07 sab 1.16.2.1.26.1: #108333#; notify Accessibility that Shell is dying and before destroy all
-rw-r--r-- | sc/source/ui/view/prevwsh.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx index a3cdbc11ba8a..e6ade336bfc3 100644 --- a/sc/source/ui/view/prevwsh.cxx +++ b/sc/source/ui/view/prevwsh.cxx @@ -2,9 +2,9 @@ * * $RCSfile: prevwsh.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: hr $ $Date: 2003-03-26 18:06:49 $ + * last change: $Author: rt $ $Date: 2003-04-08 16:32:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -221,6 +221,10 @@ ScPreviewShell::ScPreviewShell( SfxViewFrame* pViewFrame, __EXPORT ScPreviewShell::~ScPreviewShell() { + // #108333#; notify Accessibility that Shell is dying and before destroy all + BroadcastAccessibility( SfxSimpleHint( SFX_HINT_DYING ) ); + DELETEZ(pAccessibilityBroadcaster); + SfxBroadcaster* pDrawBC = pDocShell->GetDocument()->GetDrawBroadcaster(); if (pDrawBC) EndListening(*pDrawBC); @@ -233,8 +237,6 @@ __EXPORT ScPreviewShell::~ScPreviewShell() delete pVerScroll; delete pCorner; - DELETEZ(pAccessibilityBroadcaster); - // #97612# normal mode of operation is switching back to default view in the same frame, // so there's no need to activate any other window here anymore } |