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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 15 14:16:53 UTC 2020


 xmloff/source/core/xmlimp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7c1ca2ce0b84ee62165999e1eb79b4073f599ff7
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Apr 15 15:28:05 2020 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Apr 15 16:16:19 2020 +0200

    xmloff: turn this warning into an info
    
    <vmiklos> noelgrandin: is there some way i can silence this "warn:xmloff.core:30241:30241:xmloff/source/core/xmlimp.cxx:739: SvXMLImport::startElement: missing context for element
              draw:color" warning? i get it 120 times when i do a hello-world odg->pdf conversion :)
    <noelgrandin> vmiklos, hmmm. I think just turn it off for now.
    
    Change-Id: Ib1fcb1a20d51547536a8c5cce0dc16547d34f325
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92273
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Tested-by: Jenkins

diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 2470d054e355..9dae9839b519 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -736,7 +736,7 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName,
     }
 
     if ( !xContext.is() )
-        SAL_WARN_IF( !xContext.is(), "xmloff.core", "SvXMLImport::startElement: missing context for element " << rName );
+        SAL_INFO_IF( !xContext.is(), "xmloff.core", "SvXMLImport::startElement: missing context for element " << rName );
 
     if( !xContext.is() )
         xContext.set(new SvXMLImportContext( *this, nPrefix, aLocalName ));


More information about the Libreoffice-commits mailing list