diff options
-rw-r--r-- | avmedia/source/vlc/vlcwindow.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/avmedia/source/vlc/vlcwindow.cxx b/avmedia/source/vlc/vlcwindow.cxx index e3c0ab26147c..1887f3ee1424 100644 --- a/avmedia/source/vlc/vlcwindow.cxx +++ b/avmedia/source/vlc/vlcwindow.cxx @@ -62,7 +62,7 @@ sal_Bool SAL_CALL VLCWindow::setZoomLevel( css::media::ZoomLevel eZoomLevel ) meZoomLevel = eZoomLevel; } - switch ( static_cast<int>( eZoomLevel ) ) + switch ( eZoomLevel ) { case media::ZoomLevel_ORIGINAL: case media::ZoomLevel_FIT_TO_WINDOW_FIXED_ASPECT: @@ -74,6 +74,8 @@ sal_Bool SAL_CALL VLCWindow::setZoomLevel( css::media::ZoomLevel eZoomLevel ) case media::ZoomLevel_ZOOM_2_TO_1: mPlayer.setVideoSize( mSize.Width * 2, mSize.Height * 2 ); break; + default: + break; } bRet = true; |