You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2022/02/18 20:04:14 UTC

[openoffice] branch trunk updated: Search for the right attribute content

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

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


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

commit 7462b7435704d287da295f8819ee4fd4bffded77
Author: Arrigo Marchiori <ar...@yahoo.it>
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
---
 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 22c8fc9..59cac2b 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;
 		}
 	}