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 /xmloff | |
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 'xmloff')
-rw-r--r-- | xmloff/source/core/RDFaExportHelper.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx index d202b06e9129..052c76c82ecf 100644 --- a/xmloff/source/core/RDFaExportHelper.cxx +++ b/xmloff/source/core/RDFaExportHelper.cxx @@ -56,8 +56,6 @@ using namespace ::com::sun::star; namespace xmloff { -static const char s_prefix [] = "_:b"; - static ::rtl::OUString makeCURIE(SvXMLExport * i_pExport, uno::Reference<rdf::XURI> const & i_xURI) @@ -128,10 +126,7 @@ RDFaExportHelper::LookupBlankNode( m_BlankNodeMap[ i_xBlankNode->getStringValue() ] ); if (rEntry.isEmpty()) { - ::rtl::OUStringBuffer buf; - buf.appendAscii(s_prefix); - buf.append(++m_Counter); - rEntry = buf.makeStringAndClear(); + rEntry = "_:b" + OUString::valueOf(++m_Counter); } return rEntry; } |