summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-21 09:28:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-21 14:34:01 +0200
commit915c7529e9b041879e8c63f15306028a6f649f48 (patch)
tree3072539a7649359d9ddbf1496ef7e4ee7c8ff0d2 /avmedia
parent5e43e888f6b9bc32fc5d3361be5a7962796726ea (diff)
use tools::Long in accessibility..basctl
Change-Id: I67087c7a281e5bdecbaf227bd3147e7c12828791 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104587 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/gstreamer/gstplayer.hxx2
-rw-r--r--avmedia/source/viewer/mediawindow_impl.cxx4
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) );
}
}