diff options
-rw-r--r-- | svgio/source/svgreader/svgtoken.cxx | 2 |
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()) { |