Some cppcheck cleaning

This commit is contained in:
Julien Nabet
2012-02-05 10:19:40 +01:00
parent 992e1a772e
commit 9377bb4dcc
17 changed files with 0 additions and 34 deletions

View File

@@ -442,8 +442,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pThis ); (XInterface *)pThis );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -490,8 +490,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pCppI ); (XInterface *)pCppI );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -393,8 +393,6 @@ namespace
throw RuntimeException( throw RuntimeException(
OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pCppI ); (XInterface *)pCppI );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -533,8 +533,6 @@ namespace
throw RuntimeException( throw RuntimeException(
OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pCppI ); (XInterface *)pCppI );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -473,8 +473,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pThis ); (XInterface *)pThis );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -401,8 +401,6 @@ namespace
throw RuntimeException( throw RuntimeException(
OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pCppI ); (XInterface *)pCppI );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -542,8 +542,6 @@ namespace
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pThis ); (XInterface *)pThis );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -488,8 +488,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pThis ); (XInterface *)pThis );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -493,8 +493,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pThis ); (XInterface *)pThis );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -454,8 +454,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pCppI ); (XInterface *)pCppI );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -475,8 +475,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pCppI ); (XInterface *)pCppI );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -351,8 +351,6 @@ static typelib_TypeClass cpp_mediate(
default: default:
{ {
throw RuntimeException(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), (XInterface *)pCppI ); throw RuntimeException(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), (XInterface *)pCppI );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }
return eRet; return eRet;

View File

@@ -389,8 +389,6 @@ extern "C" typelib_TypeClass cpp_vtable_call(
{ {
throw RuntimeException( OUString(RTL_CONSTASCII_USTRINGPARAM("no member description found!")), throw RuntimeException( OUString(RTL_CONSTASCII_USTRINGPARAM("no member description found!")),
reinterpret_cast<XInterface *>( pCppI ) ); reinterpret_cast<XInterface *>( pCppI ) );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -436,8 +436,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pThis ); (XInterface *)pThis );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -353,8 +353,6 @@ static typelib_TypeClass cpp_mediate(
throw RuntimeException( throw RuntimeException(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )),
(XInterface *)pThis ); (XInterface *)pThis );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }

View File

@@ -350,8 +350,6 @@ static typelib_TypeClass cpp_mediate(
default: default:
{ {
throw RuntimeException(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), (XInterface *)pCppI ); throw RuntimeException(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "no member description found!" )), (XInterface *)pCppI );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }
return eRet; return eRet;

View File

@@ -356,8 +356,6 @@ extern "C" typelib_TypeClass cpp_vtable_call(
{ {
throw RuntimeException( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("No member description found!")), throw RuntimeException( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("No member description found!")),
reinterpret_cast<XInterface *>( pCppI ) ); reinterpret_cast<XInterface *>( pCppI ) );
// is here for dummy
eRet = typelib_TypeClass_VOID;
} }
} }