[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Sun Jun 19 20:08:09 UTC 2016


 vcl/unx/gtk/gtksalmenu.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 07b5ac90d55d54bf4514ccb17531967c73f35434
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Jun 19 22:07:45 2016 +0200

    loplugin:redundantcast
    
    Change-Id: I0fc720f677440ed659c445151c5fd4e53f63444c

diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index af48f1b..081ca54 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;
     }
 }


More information about the Libreoffice-commits mailing list