diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-01 15:45:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-01 15:45:52 +0200 |
commit | e50ef195bc95f3f410119f623928382cb88b45d2 (patch) | |
tree | 0897c005806c84d7e2add9f4a2d407ff4fe911a5 /unodevtools/source/skeletonmaker/javacompskeleton.cxx | |
parent | 363e39d63621b6c7017854ca5bb2f7668bb35846 (diff) |
New loplugin:stringconcat
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
Diffstat (limited to 'unodevtools/source/skeletonmaker/javacompskeleton.cxx')
-rw-r--r-- | unodevtools/source/skeletonmaker/javacompskeleton.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx index 1777dab117fd..3c1733acbe83 100644 --- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx @@ -96,17 +96,17 @@ void generateXServiceInfoBodies(std::ostream& o) { o << " // com.sun.star.lang.XServiceInfo:\n"; o << " public String getImplementationName() {\n" - << " return m_implementationName;\n }\n\n"; + " return m_implementationName;\n }\n\n"; o << " public boolean supportsService( String sService ) {\n" - << " int len = m_serviceNames.length;\n\n" - << " for( int i=0; i < len; i++) {\n" - << " if (sService.equals(m_serviceNames[i]))\n" - << " return true;\n" - << " }\n return false;\n }\n\n"; + " int len = m_serviceNames.length;\n\n" + " for( int i=0; i < len; i++) {\n" + " if (sService.equals(m_serviceNames[i]))\n" + " return true;\n" + " }\n return false;\n }\n\n"; o << " public String[] getSupportedServiceNames() {\n" - << " return m_serviceNames;\n }\n\n"; + " return m_serviceNames;\n }\n\n"; } void generateXPropertySetBodies(std::ostream& o) @@ -798,7 +798,7 @@ void generateClassDefinition(std::ostream& o, if (propertyhelper.getLength() > 1) { o << propcomment << " m_prophlp = new PropertySetMixin(m_xContext, this,\n" - << " new Type(" << propertyhelper + " new Type(" << propertyhelper << ".class), null);\n"; } } |