summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewmdi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewmdi.cxx')
-rw-r--r--sw/source/uibase/uiview/viewmdi.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx
index 27985eb84a94..eef998e77d0b 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -265,18 +265,19 @@ IMPL_LINK( SwView, WindowChildEventListener, VclWindowEvent&, rEvent, void )
switch ( rEvent.GetId() )
{
- case VCLEVENT_WINDOW_HIDE:
+ case VclEventId::WindowHide:
if( pChildWin == m_pHScrollbar )
ShowHScrollbar( false );
else if( pChildWin == m_pVScrollbar )
ShowVScrollbar( false );
break;
- case VCLEVENT_WINDOW_SHOW:
+ case VclEventId::WindowShow:
if( pChildWin == m_pHScrollbar )
ShowHScrollbar( true );
else if( pChildWin == m_pVScrollbar )
ShowVScrollbar( true );
break;
+ default: break;
}
}