avmedia/source/gstreamer/gstplayer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 580055d838650ac6d604ee8c7b6f348100eb291c Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Feb 16 18:00:34 2016 +0100 loplugin:cstylecast Change-Id: I17025698070d3140eb2d09b705020ee4e0ee97c1 diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index ea2c15a..8881b7d 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -916,7 +916,7 @@ uno::Reference< ::media::XPlayerWindow > SAL_CALL Player::createPlayerWindow( co { mbUseGtkSink = true; g_object_get(pVideosink, "widget", &mpGtkWidget, nullptr); - GtkWidget *pParent = (GtkWidget*)(pEnvData->pWidget); + GtkWidget *pParent = static_cast<GtkWidget*>(pEnvData->pWidget); gtk_container_add (GTK_CONTAINER(pParent), mpGtkWidget); g_object_set( G_OBJECT( mpPlaybin ), "video-sink", pVideosink, nullptr); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits