[Libreoffice-commits] .: bridges/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sun Feb 5 01:20:21 PST 2012


 bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx     |    2 --
 bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx     |    2 --
 bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx       |    2 --
 bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx      |    2 --
 bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx      |    2 --
 bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx      |    2 --
 bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx      |    2 --
 bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx   |    2 --
 bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx |    2 --
 bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx      |    2 --
 bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx     |    2 --
 bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx     |    2 --
 bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx    |    2 --
 bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx  |    2 --
 bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx   |    2 --
 bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx   |    2 --
 bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx    |    2 --
 17 files changed, 34 deletions(-)

New commits:
commit 9377bb4dcc0d179293c044663c0bea5a113b64d9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Feb 5 10:19:40 2012 +0100

    Some cppcheck cleaning

diff --git a/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
index 457b4f6..ca6b6a5 100644
--- a/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
@@ -442,8 +442,6 @@ static typelib_TypeClass cpp_mediate(
                 throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pThis );
-                // is here for dummy
-                eRet = typelib_TypeClass_VOID;
         }
         }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
index bc049b5..eed34e3 100644
--- a/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
@@ -490,8 +490,6 @@ static typelib_TypeClass cpp_mediate(
         throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pCppI );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
index 91b96cd..d347aa0 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
@@ -393,8 +393,6 @@ namespace
             throw RuntimeException(
                 OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
                 (XInterface *)pCppI );
-            // is here for dummy
-            eRet = typelib_TypeClass_VOID;
         }
         }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
index e962174..e2d9f83 100644
--- a/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
@@ -533,8 +533,6 @@ namespace
             throw RuntimeException(
                 OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
                 (XInterface *)pCppI );
-            // is here for dummy
-            eRet = typelib_TypeClass_VOID;
         }
         }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
index c496ab0..12ba0f6 100644
--- a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
@@ -473,8 +473,6 @@ static typelib_TypeClass cpp_mediate(
         throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pThis );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
index 7c46d1a..6cc5cce 100644
--- a/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
@@ -401,8 +401,6 @@ namespace
             throw RuntimeException(
                 OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
                 (XInterface *)pCppI );
-            // is here for dummy
-            eRet = typelib_TypeClass_VOID;
         }
         }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
index f1597c3..a275312 100644
--- a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
@@ -542,8 +542,6 @@ namespace
           throw RuntimeException(
               rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
               (XInterface *)pThis );
-          // is here for dummy
-          eRet = typelib_TypeClass_VOID;
         }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
index 759846a..ed6e087 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
@@ -488,8 +488,6 @@ static typelib_TypeClass cpp_mediate(
         throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pThis );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
index bdd93e4..425c5b5 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
@@ -493,8 +493,6 @@ static typelib_TypeClass cpp_mediate(
         throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pThis );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
index 96375c8..4619540 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
@@ -454,8 +454,6 @@ static typelib_TypeClass cpp_mediate(
         throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pCppI );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
index 325d549..b430bbe 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
@@ -475,8 +475,6 @@ static typelib_TypeClass cpp_mediate(
         throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pCppI );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
index 5ad0176..7957b91 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
@@ -351,8 +351,6 @@ static typelib_TypeClass cpp_mediate(
     default:
     {
         throw RuntimeException(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), (XInterface *)pCppI );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
     return eRet;
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index 91cf804..f3e76a6 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -389,8 +389,6 @@ extern "C" typelib_TypeClass cpp_vtable_call(
         {
             throw RuntimeException( OUString(RTL_CONSTASCII_USTRINGPARAM("no member description found!")),
                                     reinterpret_cast<XInterface *>( pCppI ) );
-            // is here for dummy
-            eRet = typelib_TypeClass_VOID;
         }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx
index d18bc1a..8d6b54e 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx
@@ -436,8 +436,6 @@ static typelib_TypeClass cpp_mediate(
         throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pThis );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
index 0ef2038..d16c068 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
@@ -353,8 +353,6 @@ static typelib_TypeClass cpp_mediate(
         throw RuntimeException(
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
             (XInterface *)pThis );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
 
diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
index c9576bc..9a7aa3c 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
@@ -350,8 +350,6 @@ static typelib_TypeClass cpp_mediate(
     default:
     {
         throw RuntimeException(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), (XInterface *)pCppI );
-        // is here for dummy
-        eRet = typelib_TypeClass_VOID;
     }
     }
     return eRet;
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 dc09d07..6e2e343 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
@@ -356,8 +356,6 @@ extern "C" typelib_TypeClass cpp_vtable_call(
         {
             throw RuntimeException( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("No member description found!")),
                                     reinterpret_cast<XInterface *>( pCppI ) );
-            // is here for dummy
-            eRet = typelib_TypeClass_VOID;
         }
     }
 


More information about the Libreoffice-commits mailing list