summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/prevwsh.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-09-13 15:31:14 +0000
committerNiklas Nebel <nn@openoffice.org>2002-09-13 15:31:14 +0000
commit1df46560063e744472f0f77200eb9107e688a85c (patch)
tree127467b19baa3f573d21e40b6a0d2c5986f3a4b8 /sc/source/ui/view/prevwsh.cxx
parent02be6bad324eedefe08af6ee2f561d5ebe55bb45 (diff)
#97612# when closing, dont try to activate other window
Diffstat (limited to 'sc/source/ui/view/prevwsh.cxx')
-rw-r--r--sc/source/ui/view/prevwsh.cxx19
1 files changed, 4 insertions, 15 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index bfb20f13d..edbca688a 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.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: mba $ $Date: 2002-07-12 16:43:30 $
+ * last change: $Author: nn $ $Date: 2002-09-13 16:31:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -221,19 +221,8 @@ __EXPORT ScPreviewShell::~ScPreviewShell()
DELETEZ(pAccessibilityBroadcaster);
- // #47435# wie im Writer (SwPagePreView::~SwPagePreView):
- // Wenn die Preview zugemacht wird, eine andere View des Dokuments suchen und aktivieren
-
- TypeId aType = TYPE( SfxTopViewFrame );
- for( SfxViewFrame *pFrame = SfxViewFrame::GetFirst( pDocShell, aType );
- pFrame; pFrame = SfxViewFrame::GetNext( *pFrame, pDocShell, aType ) )
- if( pFrame != GetViewFrame() )
- {
- // es gibt noch eine weitere Sicht auf unser Dokument, also
- // aktiviere dieses
- pFrame->GetFrame()->Appear();
- break;
- }
+ // #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
}
void ScPreviewShell::InitStartTable(USHORT nTab)