[Libreoffice-commits] core.git: svtools/source

Julien Nabet serval2412 at yahoo.fr
Sat Apr 1 07:27:35 UTC 2017


 svtools/source/svhtml/parhtml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 884499a03ed125f8e87fd6ff620f3e0d2fef452c
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Apr 1 02:17:02 2017 +0200

    Display unknown token for html key in console
    
    Change-Id: I57740e52a8e76d4f0f68cb2e58ca3f1aab249a0b
    Reviewed-on: https://gerrit.libreoffice.org/35989
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index acd523092ff2..cd8faf0509af 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -1390,7 +1390,7 @@ const HTMLOptions& HTMLParser::GetOptions( sal_uInt16 *pNoConvertToken )
             // PlugIns require original token name. Convert to lower case only for searching.
             nToken = GetHTMLOption( sName.toAsciiLowerCase() ); // Name is ready
             SAL_WARN_IF( nToken==HTML_O_UNKNOWN, "svtools",
-                        "GetOption: unknown HTML option" );
+                        "GetOption: unknown HTML option '" << sName << "'" );
             bool bStripCRLF = (nToken < HTML_OPTION_SCRIPT_START ||
                                nToken >= HTML_OPTION_SCRIPT_END) &&
                               (!pNoConvertToken || nToken != *pNoConvertToken);


More information about the Libreoffice-commits mailing list