summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-08-12 21:29:22 +0200
committerTor Lillqvist <tml@iki.fi>2013-08-13 11:11:42 +0000
commit87b5ac652d9625545a62fac83bccce369976140c (patch)
treec6b1bbfab3fc0bd187475d052142b63c809eda89 /xmlhelp/source/cxxhelp/provider/urlparameter.cxx
parent5a2c13a79a639a8ed98873d3acd7ed074c2b00b5 (diff)
fdo#57950: Remove some chained appends in xmhelp
Change-Id: I4680547aa1d12d3e8eab3c33e3158845848c2068 Reviewed-on: https://gerrit.libreoffice.org/5376 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/urlparameter.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 254be3166ff3..8cc8cf857ad4 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -306,12 +306,7 @@ void URLParameter::readHelpDataFile()
m_aJar = converter.getDatabase();
if( !aExtensionPath.isEmpty() )
{
- OUStringBuffer aExtendedJarStrBuf;
- aExtendedJarStrBuf.append( '?' );
- aExtendedJarStrBuf.append( aExtensionPath );
- aExtendedJarStrBuf.append( '?' );
- aExtendedJarStrBuf.append( m_aJar );
- m_aJar = aExtendedJarStrBuf.makeStringAndClear();
+ m_aJar = "?" + aExtensionPath + "?" + m_aJar;
m_aExtensionRegistryPath = aExtensionRegistryPath;
}
m_aTag = converter.getHash();