svgio/source/svgreader/svgtoken.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c50bf20fe2753576f3d82deefbdd8f1e0b41a54a Author: Fridrich Å trba <[email protected]> Date: Wed Nov 21 19:00:43 2012 +0100 accept svg documents in svg: namespace (hack) Change-Id: I7678e25a2229abc2147510fe08165dc2faf5d977 diff --git a/svgio/source/svgreader/svgtoken.cxx b/svgio/source/svgreader/svgtoken.cxx index a165e9a..0eef4fe 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()) {
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
