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
This commit is contained in:
Oliver Bolte 2007-01-22 14:07:15 +00:00
parent 8f2cdd867b
commit 949392d672

View file

@ -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,6 +144,8 @@ void __EXPORT ScDrawView::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType
SCTAB nDelTab = ((ScTabDeletedHint&)rHint).GetTab();
if (ValidTab(nDelTab))
{
// used to be: HidePagePgNum(nDelTab) - hide only if the deleted sheet is shown here
if ( nDelTab == nTab )
HideSdrPage();
}
}