[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - helpcompiler/source
Jan Holesovsky
kendy at collabora.com
Thu Dec 10 14:53:47 PST 2015
helpcompiler/source/HelpCompiler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 68111c6b8b3d827dba7b35e1b7c84d1bdddd47d6
Author: Jan Holesovsky <kendy at collabora.com>
Date: Thu Dec 10 23:47:00 2015 +0100
tdf#96042: Oops, fix a typo.
This fixes a regression from commit 4c4999d944bbf8a34f8a320b8de6f4a325bd5d97.
Change-Id: Ie8496392f4811cc1ff146d7a5c43988da0d539c2
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx
index 6d821e4..276394a 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)
More information about the Libreoffice-commits
mailing list