diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:22 +0100 |
commit | d22a052d121fcc5a425e7d30427b6431e6d0c529 (patch) | |
tree | 38ead10cff1b22f9640c54b19461aba63ae2ddbb /idlc | |
parent | e875ef0364c8e5c076648f64b8813512deebdc8c (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I106ec424d4a2b32b91d9c4c70eb8a6670c20ede9
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astdump.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx index b4dfa84df65a..a352e9430cda 100644 --- a/idlc/source/astdump.cxx +++ b/idlc/source/astdump.cxx @@ -303,7 +303,7 @@ bool AstService::dump(RegistryKey& rKey) if (m_defaultConstructor) { writer.setMethodData( constructorIndex++, emptyStr, RTMethodMode::TWOWAY, - emptyStr, OUString("void"), + emptyStr, "void", 0, 0); } sal_uInt32 size; @@ -395,7 +395,7 @@ void AstAttribute::dumpExceptions( writer.setMethodData( idx, documentation, flags, OStringToOUString(getLocalName(), RTL_TEXTENCODING_UTF8), - OUString("void"), 0, + "void", 0, static_cast< sal_uInt16 >(exceptions.size())); sal_uInt16 exceptionIndex = 0; for (DeclList::const_iterator i(exceptions.begin()); |