summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-19 22:07:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-19 22:07:45 +0200
commit07b5ac90d55d54bf4514ccb17531967c73f35434 (patch)
treeeec2a0b1a055f680a363c5337611367f827dcee1 /vcl
parent82da3d95c1bb2ba410a89fc1721b1ccb4f25b7cb (diff)
loplugin:redundantcast
Change-Id: I0fc720f677440ed659c445151c5fd4e53f63444c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/gtksalmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index af48f1b9ced1..081ca5430de4 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -852,7 +852,7 @@ namespace
{
void DestroyMemoryStream(gpointer data)
{
- SvMemoryStream* pMemStm = reinterpret_cast<SvMemoryStream*>(data);
+ SvMemoryStream* pMemStm = static_cast<SvMemoryStream*>(data);
delete pMemStm;
}
}