From 68111c6b8b3d827dba7b35e1b7c84d1bdddd47d6 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 10 Dec 2015 23:47:00 +0100 Subject: tdf#96042: Oops, fix a typo. This fixes a regression from commit 4c4999d944bbf8a34f8a320b8de6f4a325bd5d97. Change-Id: Ie8496392f4811cc1ff146d7a5c43988da0d539c2 --- helpcompiler/source/HelpCompiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3