Index: fpdfsdk/pdfwindow/PWL_Caret.cpp |
diff --git a/fpdfsdk/pdfwindow/PWL_Caret.cpp b/fpdfsdk/pdfwindow/PWL_Caret.cpp |
index 88ce429c854ba669921ec49032f62685af03ec7e..a5728ceac87a44ae1f0fdd2d47c8eea5a00ab375 100644 |
--- a/fpdfsdk/pdfwindow/PWL_Caret.cpp |
+++ b/fpdfsdk/pdfwindow/PWL_Caret.cpp |
@@ -95,7 +95,7 @@ CFX_ByteString CPWL_Caret::GetCaretAppearanceStream( |
const CFX_FloatPoint& ptOffset) { |
CFX_ByteTextBuf sCaret; |
GetCaretApp(sCaret, ptOffset); |
- return sCaret.AsStringC(); |
+ return sCaret.MakeString(); |
} |
void CPWL_Caret::TimerProc() { |