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:
parent
8f2cdd867b
commit
949392d672
1 changed files with 5 additions and 3 deletions
|
@ -4,9 +4,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: drawvie3.cxx,v $
|
* $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 Contents of this file are made available subject to
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
* 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();
|
SCTAB nDelTab = ((ScTabDeletedHint&)rHint).GetTab();
|
||||||
if (ValidTab(nDelTab))
|
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
|
else if (rHint.ISA(ScTabSizeChangedHint)) // Groesse geaendert
|
||||||
|
|
Loading…
Reference in a new issue