summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-03 09:29:06 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-03 09:29:06 +0100
commit83768b95e11f808be8515f778761961107fd55f9 (patch)
treeb8c559ffc79688cb496181e5f70f931f3e7c3e52
parent6219e7fafa84c91d83c60e36c1cf619886d82345 (diff)
autorecovery: ConnectSfxFrame_Impl: show the view frame's window, if it is different from the frame's window (this code got lost in some of the previous stages, which killed impress' full-screen slide show)
-rw-r--r--sfx2/source/view/sfxbasecontroller.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx
index 6a609f15ca3f..8c5968efe399 100644
--- a/sfx2/source/view/sfxbasecontroller.cxx
+++ b/sfx2/source/view/sfxbasecontroller.cxx
@@ -1370,6 +1370,10 @@ void SfxBaseController::ConnectSfxFrame_Impl( const bool i_bConnect )
if ( SfxViewFrame::Current() == pActFrame )
pActFrame->GetDispatcher()->Update_Impl( sal_True );
+
+ Window* pFrameWin = &pActFrame->GetWindow();
+ if ( pFrameWin != &pActFrame->GetFrame()->GetWindow() )
+ pFrameWin->Show();
}
// invalidate slot corresponding to the view shell