vcl/unx/gtk3/gtk3gtkinst.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit eedc5b15fb5c9a352657edec841b6a30c408e5c8 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Jun 24 18:21:35 2016 +0200 loplugin:redundantcast Change-Id: I1ca323870cfbfae05768489ebd8d0fc59191de06 diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 262478f..6be4438 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -429,13 +429,13 @@ namespace guint info, gpointer user_data_or_owner) { - VclGtkClipboard* pThis = reinterpret_cast<VclGtkClipboard*>(user_data_or_owner); + VclGtkClipboard* pThis = static_cast<VclGtkClipboard*>(user_data_or_owner); pThis->ClipboardGet(clipboard, selection_data, info); } void ClipboardClearFunc(GtkClipboard *clipboard, gpointer user_data_or_owner) { - VclGtkClipboard* pThis = reinterpret_cast<VclGtkClipboard*>(user_data_or_owner); + VclGtkClipboard* pThis = static_cast<VclGtkClipboard*>(user_data_or_owner); pThis->ClipboardClear(clipboard); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits