summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-18 08:02:20 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-18 08:02:20 +0000
commitc6f69ab57ed7d15a2b489c1bc4275deff7f9da55 (patch)
treecfc9b46454e1ebc211300089b7a4fe4952b97cd5 /sfx2
parent070c4c2bde3c76d084d49dd4c5405fc54885e047 (diff)
INTEGRATION: CWS fwk67 (1.89.48); FILE MERGED
2007/06/29 15:19:51 cd 1.89.48.1: #i76637# Support that method SfxViewFrame::Show() can make a hidden frame visible
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/topfrm.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/sfx2/source/view/topfrm.cxx b/sfx2/source/view/topfrm.cxx
index 8f1ae43e3048..292aa26d6de3 100644
--- a/sfx2/source/view/topfrm.cxx
+++ b/sfx2/source/view/topfrm.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: topfrm.cxx,v $
*
- * $Revision: 1.90 $
+ * $Revision: 1.91 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 23:35:07 $
+ * last change: $Author: obo $ $Date: 2007-07-18 09:02:20 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -416,15 +416,7 @@ void SfxTopViewWin_Impl::StateChanged( StateChangedType nStateChange )
{
SfxObjectShell* pDoc = pFrame->GetObjectShell();
if ( pDoc && !pFrame->IsVisible_Impl() )
- {
- pDoc->GetMedium()->GetItemSet()->ClearItem( SID_HIDDEN );
pFrame->Show();
- if ( pDoc->Get_Impl()->bHiddenLockedByAPI )
- {
- pDoc->Get_Impl()->bHiddenLockedByAPI = FALSE;
- pDoc->OwnerLock(FALSE);
- }
- }
pFrame->Resize();
}