From 949392d6724f6411edf29e3a5013beb79ee2f5dc Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 22 Jan 2007 14:07:15 +0000 Subject: [PATCH] INTEGRATION: CWS aw039 (1.10.34); FILE MERGED 2007/01/09 12:31:09 aw 1.10.34.2: RESYNC: (1.10-1.11); FILE MERGED 2007/01/08 16:42:56 nn 1.10.34.1: #i73115# Notify/ScTabDeletedHint: hide page only if the visible page was deleted --- sc/source/ui/view/drawvie3.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sc/source/ui/view/drawvie3.cxx b/sc/source/ui/view/drawvie3.cxx index d04910e68e8a..7e80762243ce 100644 --- a/sc/source/ui/view/drawvie3.cxx +++ b/sc/source/ui/view/drawvie3.cxx @@ -4,9 +4,9 @@ * * $RCSfile: drawvie3.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: kz $ $Date: 2006-12-12 16:08:35 $ + * last change: $Author: obo $ $Date: 2007-01-22 15:07:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -144,7 +144,9 @@ void __EXPORT ScDrawView::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType SCTAB nDelTab = ((ScTabDeletedHint&)rHint).GetTab(); if (ValidTab(nDelTab)) { - HideSdrPage(); + // used to be: HidePagePgNum(nDelTab) - hide only if the deleted sheet is shown here + if ( nDelTab == nTab ) + HideSdrPage(); } } else if (rHint.ISA(ScTabSizeChangedHint)) // Groesse geaendert