diff options
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.hxx b/avmedia/source/gstreamer/gstplayer.hxx index 1b7c7f23bce5..4a239ca1d2a6 100644 --- a/avmedia/source/gstreamer/gstplayer.hxx +++ b/avmedia/source/gstreamer/gstplayer.hxx @@ -88,7 +88,7 @@ private: bool mbInitialized; void* mpDisplay; - long mnWindowID; + tools::Long mnWindowID; GstVideoOverlay* mpXOverlay; gint64 mnDuration; int mnWidth; diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx index 13d84e5ec926..914635588f4c 100644 --- a/avmedia/source/viewer/mediawindow_impl.cxx +++ b/avmedia/source/viewer/mediawindow_impl.cxx @@ -595,13 +595,13 @@ void MediaWindowImpl::Paint(vcl::RenderContext& rRenderContext, const tools::Rec if (fLogoWH < (double(aVideoRect.GetWidth()) / aVideoRect.GetHeight())) { - aLogoSize.setWidth( long(aVideoRect.GetHeight() * fLogoWH) ); + aLogoSize.setWidth( tools::Long(aVideoRect.GetHeight() * fLogoWH) ); aLogoSize.setHeight( aVideoRect.GetHeight() ); } else { aLogoSize.setWidth( aVideoRect.GetWidth() ); - aLogoSize.setHeight( long(aVideoRect.GetWidth() / fLogoWH) ); + aLogoSize.setHeight( tools::Long(aVideoRect.GetWidth() / fLogoWH) ); } } |