diff options
Diffstat (limited to 'core/fxcrt/xml/cxml_parser.cpp')
-rw-r--r-- | core/fxcrt/xml/cxml_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/xml/cxml_parser.cpp b/core/fxcrt/xml/cxml_parser.cpp index 0166ea8490..5ac1f82206 100644 --- a/core/fxcrt/xml/cxml_parser.cpp +++ b/core/fxcrt/xml/cxml_parser.cpp @@ -86,8 +86,8 @@ void FX_XML_SplitQualifiedName(const CFX_ByteStringC& bsFullName, if (iStart == -1) { bsName = bsFullName; } else { - bsSpace = bsFullName.Mid(0, iStart); - bsName = bsFullName.Mid(iStart + 1, bsFullName.GetLength() - (iStart + 1)); + bsSpace = bsFullName.Left(iStart); + bsName = bsFullName.Right(bsFullName.GetLength() - (iStart + 1)); } } |