Display unknown token for html key in console
Change-Id: I57740e52a8e76d4f0f68cb2e58ca3f1aab249a0b Reviewed-on: https://gerrit.libreoffice.org/35989 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
@@ -1390,7 +1390,7 @@ const HTMLOptions& HTMLParser::GetOptions( sal_uInt16 *pNoConvertToken )
|
|||||||
// PlugIns require original token name. Convert to lower case only for searching.
|
// PlugIns require original token name. Convert to lower case only for searching.
|
||||||
nToken = GetHTMLOption( sName.toAsciiLowerCase() ); // Name is ready
|
nToken = GetHTMLOption( sName.toAsciiLowerCase() ); // Name is ready
|
||||||
SAL_WARN_IF( nToken==HTML_O_UNKNOWN, "svtools",
|
SAL_WARN_IF( nToken==HTML_O_UNKNOWN, "svtools",
|
||||||
"GetOption: unknown HTML option" );
|
"GetOption: unknown HTML option '" << sName << "'" );
|
||||||
bool bStripCRLF = (nToken < HTML_OPTION_SCRIPT_START ||
|
bool bStripCRLF = (nToken < HTML_OPTION_SCRIPT_START ||
|
||||||
nToken >= HTML_OPTION_SCRIPT_END) &&
|
nToken >= HTML_OPTION_SCRIPT_END) &&
|
||||||
(!pNoConvertToken || nToken != *pNoConvertToken);
|
(!pNoConvertToken || nToken != *pNoConvertToken);
|
||||||
|
Reference in New Issue
Block a user