summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-12-10 23:47:00 +0100
committerJan Holesovsky <kendy@collabora.com>2015-12-10 23:52:01 +0100
commitd8c02ffd0f37c946e5a07f1062390714da26b8d0 (patch)
treef9958f00081c2414b829f44c6cfc9b5a9f5e88ec
parent2ac8a544e7d22fd30c31870e5b3cbd22f52ce875 (diff)
tdf#96042: Oops, fix a typo.
This fixes a regression from commit 4c4999d944bbf8a34f8a320b8de6f4a325bd5d97. Change-Id: Ie8496392f4811cc1ff146d7a5c43988da0d539c2
-rw-r--r--helpcompiler/source/HelpCompiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx
index 6d821e452b1a..276394a6e0aa 100644
--- a/helpcompiler/source/HelpCompiler.cxx
+++ b/helpcompiler/source/HelpCompiler.cxx
@@ -334,7 +334,7 @@ void myparser::traverse( xmlNodePtr parentNode )
std::string hid;
- if (branch.compare(0, 3, "hid") != 0)
+ if (branch.compare(0, 3, "hid") == 0)
{
size_t index = branch.find('/');
if (index != std::string::npos)