summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_xml_composer.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-05 11:02:18 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-05 11:02:18 -0700
commit179bebb9a14dfd3ba91e9e068d4d436657a7c780 (patch)
tree895a59bfcf85a4730badfb2a6df71cf8679a2249 /core/fxcrt/fx_xml_composer.cpp
parent4cd49e1c6076bd9ef2d18480d893038822668262 (diff)
downloadpdfium-179bebb9a14dfd3ba91e9e068d4d436657a7c780.tar.xz
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
Diffstat (limited to 'core/fxcrt/fx_xml_composer.cpp')
-rw-r--r--core/fxcrt/fx_xml_composer.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
}