diff options
author | Christos Strubulis <strubulis@gmail.com> | 2012-12-18 06:59:28 -0800 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-18 17:26:54 +0100 |
commit | 5198c4a41f9cb793abd1276e75a640f7391ce0c3 (patch) | |
tree | 3c63619d276ef182410271406cfeb4236f93bf0b /codemaker/source | |
parent | 84a99c009e76582e79cc8341e2931d5b8261bb68 (diff) |
Replace chained O(U)StringBuffer::append() with operator+
Change-Id: I0fcd70cff092c7d90b57b9af9dcec99f23750f1c
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'codemaker/source')
-rw-r--r-- | codemaker/source/javamaker/javatype.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx index b0edb7f103a6..5b8748e4bf5f 100644 --- a/codemaker/source/javamaker/javatype.cxx +++ b/codemaker/source/javamaker/javatype.cxx @@ -855,11 +855,7 @@ void handleEnumType( rtl::OString(RTL_CONSTASCII_STRINGPARAM("com/sun/star/uno/Enum")), rtl::OString())); SAL_WNODEPRECATED_DECLARATIONS_POP - rtl::OStringBuffer buf; - buf.append('L'); - buf.append(className); - buf.append(';'); - rtl::OString classDescriptor(buf.makeStringAndClear()); + rtl::OString classDescriptor("L" + className + ";"); {for (sal_uInt16 i = 0; i < fields; ++i) { RTConstValue fieldValue(reader.getFieldValue(i)); if (fieldValue.m_type != RT_TYPE_INT32 |