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

Stephan Bergmann sbergman at redhat.com
Tue Jan 5 03:34:16 PST 2016


 vcl/source/app/svapp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 95c125f012073ab9115b79eccce09696a845be36
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 5 12:33:52 2016 +0100

    loplugin:redundantcast
    
    Change-Id: I8a5c0eddb784a23a2019c5315161b9bbb02e1e48

diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index ab18d70..2995453 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1808,7 +1808,7 @@ void ImplDelData::AttachToWindow( const vcl::Window* pWindow )
         if( pWindow->IsDisposed() )
             mbDel = true;
         else
-            const_cast<vcl::Window*>(pWindow)->ImplAddDel( this );
+            pWindow->ImplAddDel( this );
     }
 }
 


More information about the Libreoffice-commits mailing list