From 179bebb9a14dfd3ba91e9e068d4d436657a7c780 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 5 Apr 2016 11:02:18 -0700 Subject: Rename GetCStr and GetPtr to match CFX_ByteString. This CL updates CFX_ByteStringC to use the more common c_str and raw_str instead of GetCStr and GetPtr. Review URL: https://codereview.chromium.org/1857713003 --- core/fxcrt/fx_xml_composer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fxcrt/fx_xml_composer.cpp') diff --git a/core/fxcrt/fx_xml_composer.cpp b/core/fxcrt/fx_xml_composer.cpp index 1af6952fdb..576ff95432 100644 --- a/core/fxcrt/fx_xml_composer.cpp +++ b/core/fxcrt/fx_xml_composer.cpp @@ -23,9 +23,9 @@ void FX_XML_SplitQualifiedName(const CFX_ByteStringC& bsFullName, if (iStart >= bsFullName.GetLength()) { bsName = bsFullName; } else { - bsSpace = CFX_ByteStringC(bsFullName.GetCStr(), iStart); + bsSpace = CFX_ByteStringC(bsFullName.c_str(), iStart); iStart++; - bsName = CFX_ByteStringC(bsFullName.GetCStr() + iStart, + bsName = CFX_ByteStringC(bsFullName.c_str() + iStart, bsFullName.GetLength() - iStart); } } -- cgit v1.2.3