summaryrefslogtreecommitdiff
path: root/xmlhelp/source/treeview
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:38:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:38:40 +0100
commitfd80fa38db85129934326e7e31f249a967c5ec04 (patch)
tree0213e5baca1ff9618abb7290c0047b32b7bf6519 /xmlhelp/source/treeview
parent36328248309ebebee616452248d55923280deabb (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I9ee0d12d68cef7bd65d1e119d0272e356e7cf300
Diffstat (limited to 'xmlhelp/source/treeview')
-rw-r--r--xmlhelp/source/treeview/tvread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx
index 28ad1522c6b7..27e2dafab6f6 100644
--- a/xmlhelp/source/treeview/tvread.cxx
+++ b/xmlhelp/source/treeview/tvread.cxx
@@ -496,7 +496,7 @@ bool TVChildTarget::SearchAndInsert(TVDom* p, TVDom* tvDom)
for(i = tvDom->children.begin(); i!=tvDom->children.end(); ++i)
if (!((*i)->isLeaf()) &&
((*i)->id.getLength() == p->id.getLength()) &&
- (p->id.replaceAt((*i)->parent->id.getLength(), p->id.getLength()-(*i)->parent->id.getLength(), OUString("")) == (*i)->parent->id)) //prefix check
+ (p->id.replaceAt((*i)->parent->id.getLength(), p->id.getLength()-(*i)->parent->id.getLength(), "") == (*i)->parent->id)) //prefix check
{
h = true;
c_int = (*i)->id.toInt32();