From 4c3debb3c91f5842784be30a911b52cdabcab7df Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 8 Apr 2016 12:20:38 -0700 Subject: Rename both As{Byte,Wide}StringC() helpers to AsStringC(). The naming is redundant given the base type, and will stand in the way of consolidating Byte and Wide code. BUG= Review URL: https://codereview.chromium.org/1862123003 --- fpdfsdk/fxedit/fxet_pageobjs.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fpdfsdk/fxedit/fxet_pageobjs.cpp') diff --git a/fpdfsdk/fxedit/fxet_pageobjs.cpp b/fpdfsdk/fxedit/fxet_pageobjs.cpp index cbe6fabcb6..a09b92f4d4 100644 --- a/fpdfsdk/fxedit/fxet_pageobjs.cpp +++ b/fpdfsdk/fxedit/fxet_pageobjs.cpp @@ -249,7 +249,7 @@ void IFX_Edit::DrawEdit(CFX_RenderDevice* pDevice, sTextBuf << GetPDFWordString(pFontMap, word.nFontIndex, word.Word, SubWord) - .AsByteStringC(); + .AsStringC(); } else { DrawTextString( pDevice, CFX_FloatPoint(word.ptWord.x + ptOffset.x, @@ -363,7 +363,7 @@ void IFX_Edit::DrawRichEdit(CFX_RenderDevice* pDevice, sTextBuf << GetPDFWordString(pFontMap, word.WordProps.nFontIndex, word.Word, 0) - .AsByteStringC(); + .AsStringC(); if (word.WordProps.nWordStyle & PVTWORD_STYLE_UNDERLINE) { CFX_PathData pathUnderline; @@ -507,7 +507,7 @@ void IFX_Edit::GeneratePageObjects( } sTextBuf << GetPDFWordString(pFontMap, word.nFontIndex, word.Word, 0) - .AsByteStringC(); + .AsStringC(); oldplace = place; } } @@ -580,7 +580,7 @@ void IFX_Edit::GenerateRichPageObjects( sTextBuf << GetPDFWordString(pFontMap, word.WordProps.nFontIndex, word.Word, 0) - .AsByteStringC(); + .AsStringC(); if (word.WordProps.nWordStyle & PVTWORD_STYLE_UNDERLINE) { CFX_FloatRect rcUnderline = GetUnderLineRect(word); -- cgit v1.2.3