sw/source/filter/xml/xmltbli.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit e4344d13de05b83859a2800bc0b2e7ea0db9fdfc
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Fri Sep 6 14:30:15 2024 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat Sep 7 09:53:27 2024 +0200

    Avoid wrong "unknown attribute" warnings for nested tables
    
      warn:sw:29504:31312:sw/source/filter/xml/xmltbli.cxx:550: unknown 
attribute urn:oasis:names:tc:opendocument:xmlns:table:1.0 table:name 
value=Table2
      warn:sw:29504:31312:sw/source/filter/xml/xmltbli.cxx:550: unknown 
attribute urn:oasis:names:tc:opendocument:xmlns:table:1.0 table:style-name 
value=Table2
    
    This makes no sense: these are just normal table attributes, handled
    in a different place; and here the code is only interested in one
    specific attribute, not handling everything else.
    
    Change-Id: I36ca1a0e7b04cf9c8ddb7cb61b290e92832fe4d1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172949
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 2655317127cd..76b62fe426f5 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -546,8 +546,6 @@ css::uno::Reference<css::xml::sax::XFastContextHandler> 
SwXMLTableCellContext_Im
                 if ( IsXMLToken( aIter, XML_TRUE ) )
                     bSubTable = true;
             }
-            else
-                XMLOFF_WARN_UNKNOWN("sw", aIter);
         //FIXME: RDFa
         }
     }

Reply via email to