diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-16 18:00:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-16 18:00:34 +0100 |
commit | 580055d838650ac6d604ee8c7b6f348100eb291c (patch) | |
tree | f2d1df2714a0c6f4b391102b62e68483af969d0d | |
parent | 8543fbc72fafc0d71a8760752ca2ef5b7119cb5c (diff) |
loplugin:cstylecast
Change-Id: I17025698070d3140eb2d09b705020ee4e0ee97c1
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index ea2c15ac8713..8881b7d7a37c 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); |