diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-04 09:01:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-04 09:01:59 +0200 |
commit | d53398fe04cb1ba1ed4d74c74377f71f697911b0 (patch) | |
tree | 3affd212f2312fa6e8e67304ddf911313c2a6d2d /avmedia | |
parent | e63116602b8f49508d0aef1dd1afe746a29cc219 (diff) |
Fix build
Change-Id: Ic6644d03a7d6dd41422731d0b4015df831752087
Diffstat (limited to 'avmedia')
-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; |