summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-24 18:21:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-24 18:21:35 +0200
commiteedc5b15fb5c9a352657edec841b6a30c408e5c8 (patch)
tree7de994538df0931c7128ba8b6829b7fbf299a0be
parente6daf6bfb0c3c3e3ba03c825d778436c369f19a3 (diff)
loplugin:redundantcast
Change-Id: I1ca323870cfbfae05768489ebd8d0fc59191de06
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 262478f7d12d..6be44381c073 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);
}
}