From 59793d67d4c0324730e30d71d94ba5173643d79c Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Thu, 25 May 2017 23:33:03 +0200 Subject: Make helpcompiler more verbose on dot ahelps Currently we get a warning if the ahelp is one dot and there was no previous bookmark tag. This warning contains only the text with the problemmatic ahelp. It would make it easier to hunt down such problems if we would know the file names. This patch does that, and now I see 334 problems in 137 files. Change-Id: I364368f7affb85d5c5d526dd4674757c51956aea Reviewed-on: https://gerrit.libreoffice.org/38044 Reviewed-by: Andras Timar Tested-by: Andras Timar --- helpcompiler/source/HelpCompiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpcompiler') diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 8f0301ca2fe0..eb1c54830ffe 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -417,7 +417,7 @@ void myparser::traverse( xmlNodePtr parentNode ) { //TODO: make these asserts and flush out all our broken help ids SAL_WARN_IF(hidstr.empty(), "helpcompiler", "hid='' for text:" << text); - SAL_WARN_IF(!hidstr.empty() && extendedHelpText.empty(), "helpcompiler", "hid='.' with no hid bookmark branches for text:" << text); + SAL_WARN_IF(!hidstr.empty() && extendedHelpText.empty(), "helpcompiler", "hid='.' with no hid bookmark branches in file: " << fileName + " for text: " << text); HashSet::const_iterator aEnd = extendedHelpText.end(); for (HashSet::const_iterator iter = extendedHelpText.begin(); iter != aEnd; ++iter) { -- cgit v1.2.3