summaryrefslogtreecommitdiff
path: root/registry/tools/regcompare.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'registry/tools/regcompare.cxx')
-rw-r--r--registry/tools/regcompare.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx
index a08a3756c1ec..e3cbfedb7475 100644
--- a/registry/tools/regcompare.cxx
+++ b/registry/tools/regcompare.cxx
@@ -271,7 +271,7 @@ bool Options_Impl::matchedWithExcludeKey( const OUString& keyName) const
StringSet::const_iterator first = m_excludeKeys.begin(), last = m_excludeKeys.end();
for (; first != last; ++first)
{
- if (keyName.indexOf(*first) == 0)
+ if (keyName.startsWith(*first))
return true;
}
}