diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-22 14:07:15 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-22 14:07:15 +0000 |
commit | 949392d6724f6411edf29e3a5013beb79ee2f5dc (patch) | |
tree | 3ede868f1575a8a09b33d66ab8802317314f2529 /sc/source/ui/view/drawvie3.cxx | |
parent | 8f2cdd867be86f4e122fb778ff6139cc68ad8847 (diff) |
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
Diffstat (limited to 'sc/source/ui/view/drawvie3.cxx')
-rw-r--r-- | sc/source/ui/view/drawvie3.cxx | 8 |
1 files 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 |