summaryrefslogtreecommitdiffstats
path: root/toolkit/source/awt/animatedimagespeer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/animatedimagespeer.cxx')
-rw-r--r--toolkit/source/awt/animatedimagespeer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx
index 3dae4a6bfad5..f0fd2cf0ec50 100644
--- a/toolkit/source/awt/animatedimagespeer.cxx
+++ b/toolkit/source/awt/animatedimagespeer.cxx
@@ -413,11 +413,9 @@ namespace toolkit
void AnimatedImagesPeer::ProcessWindowEvent( const VclWindowEvent& i_windowEvent )
{
- switch ( i_windowEvent.GetId() )
+ if ( i_windowEvent.GetId() == VclEventId::WindowResize )
{
- case VCLEVENT_WINDOW_RESIZE:
lcl_updateImageList_nothrow( *m_xData );
- break;
}
AnimatedImagesPeer_Base::ProcessWindowEvent( i_windowEvent );