Improved loplugin:stringconstant (now that GCC 7 supports it): pyuno
Change-Id: Ia6778188fbc6f5f4acd696f35ef6d86127b9b8e4 Reviewed-on: https://gerrit.libreoffice.org/76659 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -108,7 +108,7 @@ static PyRef getObjectFromLoaderModule( const char * func )
|
|||||||
|
|
||||||
static OUString getImplementationName()
|
static OUString getImplementationName()
|
||||||
{
|
{
|
||||||
return OUString( "org.openoffice.comp.pyuno.Loader" );
|
return "org.openoffice.comp.pyuno.Loader";
|
||||||
}
|
}
|
||||||
|
|
||||||
static Sequence< OUString > getSupportedServiceNames()
|
static Sequence< OUString > getSupportedServiceNames()
|
||||||
|
@@ -89,7 +89,7 @@ OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef
|
|||||||
{
|
{
|
||||||
assert( pVal );
|
assert( pVal );
|
||||||
if (pTypeRef->eTypeClass == typelib_TypeClass_VOID)
|
if (pTypeRef->eTypeClass == typelib_TypeClass_VOID)
|
||||||
return OUString("void");
|
return "void";
|
||||||
|
|
||||||
OUStringBuffer buf( 64 );
|
OUStringBuffer buf( 64 );
|
||||||
buf.append( '(' );
|
buf.append( '(' );
|
||||||
|
Reference in New Issue
Block a user