loplugin:cstylecast

Change-Id: I17025698070d3140eb2d09b705020ee4e0ee97c1
This commit is contained in:
Stephan Bergmann
2016-02-16 18:00:34 +01:00
parent 8543fbc72f
commit 580055d838

View File

@@ -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);