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

Stephan Bergmann sbergman at redhat.com
Fri Mar 24 16:12:15 UTC 2017


 bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d7ebb703427a17d12e22101a1277e9a824c18123
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 24 17:11:44 2017 +0100

    loplugin:redundantcast
    
    Change-Id: Ia7701e84ea87588abb526ad82da659114474bee5

diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
index fee1483180cf..864f80d7a615 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
@@ -207,7 +207,7 @@ static inline typelib_TypeClass cpp2uno_call(
         }
         if ( pReturnTD )
         {
-            typelib_TypeClass eRet = (typelib_TypeClass)pReturnTD->eTypeClass;
+            typelib_TypeClass eRet = pReturnTD->eTypeClass;
             TYPELIB_DANGER_RELEASE( pReturnTD );
             return eRet;
         }


More information about the Libreoffice-commits mailing list