From d22a052d121fcc5a425e7d30427b6431e6d0c529 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Nov 2015 09:36:22 +0100 Subject: loplugin:stringconstant: elide explicit ctor usage (automatic rewrite) Change-Id: I106ec424d4a2b32b91d9c4c70eb8a6670c20ede9 --- idlc/source/astdump.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idlc') 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()); -- cgit v1.2.3