summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/treeview/tvread.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx
index ddfba452c67d..d791692fc782 100644
--- a/xmlhelp/source/treeview/tvread.cxx
+++ b/xmlhelp/source/treeview/tvread.cxx
@@ -123,12 +123,7 @@ namespace treeview {
{
if( targetURL.isEmpty() )
{
- OUStringBuffer strBuff( 21 + id.getLength() );
- strBuff.append(
- "vnd.sun.star.help://"
- ).append(id);
-
- targetURL = strBuff.makeStringAndClear();
+ targetURL = "vnd.sun.star.help://" + id;
}
return targetURL;