diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:52:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:56:29 +0200 |
commit | 8a45f6fc04b5ee82969f8c8001341b9bd99166e6 (patch) | |
tree | bd6b583d65d3fd72596dc9cb0d82f048e6555ace /pyuno | |
parent | 315298ceffc43b05424e2e67ba702f692e41df48 (diff) |
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>
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/loader/pyuno_loader.cxx | 2 | ||||
-rw-r--r-- | pyuno/source/module/pyuno.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/loader/pyuno_loader.cxx b/pyuno/source/loader/pyuno_loader.cxx index 938d53814545..9da2f615a05a 100644 --- a/pyuno/source/loader/pyuno_loader.cxx +++ b/pyuno/source/loader/pyuno_loader.cxx @@ -108,7 +108,7 @@ static PyRef getObjectFromLoaderModule( const char * func ) static OUString getImplementationName() { - return OUString( "org.openoffice.comp.pyuno.Loader" ); + return "org.openoffice.comp.pyuno.Loader"; } static Sequence< OUString > getSupportedServiceNames() diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index d0db3674d7b3..a4d0ddc4e314 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -89,7 +89,7 @@ OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef { assert( pVal ); if (pTypeRef->eTypeClass == typelib_TypeClass_VOID) - return OUString("void"); + return "void"; OUStringBuffer buf( 64 ); buf.append( '(' ); |