summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-11-21 19:00:43 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-11-21 19:01:02 +0100
commitc50bf20fe2753576f3d82deefbdd8f1e0b41a54a (patch)
treeb9b351bc3f66f8152491661eb6a5b73989be2877 /svgio
parentb8a467b70756b83c8aeb77f385ea1e368350d370 (diff)
accept svg documents in svg: namespace (hack)
Change-Id: I7678e25a2229abc2147510fe08165dc2faf5d977
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgtoken.cxx2
1 files changed, 1 insertions, 1 deletions
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())
{