diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:38:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:38:40 +0100 |
commit | fd80fa38db85129934326e7e31f249a967c5ec04 (patch) | |
tree | 0213e5baca1ff9618abb7290c0047b32b7bf6519 /xmlhelp/source/treeview | |
parent | 36328248309ebebee616452248d55923280deabb (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.cxx | 2 |
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(); |