This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 21c2421999 Search for the right attribute content
21c2421999 is described below

commit 21c24219997ec304f7441f05c5d5fe4b3788eee1
Author: Arrigo Marchiori <[email protected]>
AuthorDate: Fri Feb 18 21:01:23 2022 +0100

    Search for the right attribute content
    
    XML_N_SVG are transformed into XML_N_SVG_COMPAT
    
    (cherry picked from commit 7462b7435704d287da295f8819ee4fd4bffded77)
---
 main/xmloff/source/transform/OOo2Oasis.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/xmloff/source/transform/OOo2Oasis.cxx 
b/main/xmloff/source/transform/OOo2Oasis.cxx
index 29811fa2a6..126535becb 100644
--- a/main/xmloff/source/transform/OOo2Oasis.cxx
+++ b/main/xmloff/source/transform/OOo2Oasis.cxx
@@ -1191,7 +1191,7 @@ void XMLDocumentTransformerContext_Impl::StartElement(
                                bDOM = sal_True;
                        else if( IsXMLToken( rAttrValue, XML_N_DC ) )
                                bDC = sal_True;
-                       else if( IsXMLToken( rAttrValue, XML_N_SVG ) )
+                       else if( IsXMLToken( rAttrValue, XML_N_SVG_COMPAT ) )
                                bSVG = sal_True;
                }
        }

Reply via email to