From c50bf20fe2753576f3d82deefbdd8f1e0b41a54a Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Wed, 21 Nov 2012 19:00:43 +0100 Subject: accept svg documents in svg: namespace (hack) Change-Id: I7678e25a2229abc2147510fe08165dc2faf5d977 --- svgio/source/svgreader/svgtoken.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svgio') diff --git a/svgio/source/svgreader/svgtoken.cxx b/svgio/source/svgreader/svgtoken.cxx index a165e9aa4311..0eef4fec84f9 100644 --- a/svgio/source/svgreader/svgtoken.cxx +++ b/svgio/source/svgreader/svgtoken.cxx @@ -298,7 +298,7 @@ namespace svgio aSVGTokenMapperList.insert(SVGTokenValueType(aSVGStrText, SVGTokenText)); } - const SVGTokenMapper::const_iterator aResult(aSVGTokenMapperList.find(rStr)); + const SVGTokenMapper::const_iterator aResult(aSVGTokenMapperList.find(rStr.compareToAscii("svg:", 4) ? rStr : rStr.copy(4))); if(aResult == aSVGTokenMapperList.end()) { -- cgit