Index: fpdfsdk/pdfwindow/PWL_Caret.cpp |
diff --git a/fpdfsdk/pdfwindow/PWL_Caret.cpp b/fpdfsdk/pdfwindow/PWL_Caret.cpp |
index e49471a0d28f8de5581663d867bafd46ec5cc99e..88ce429c854ba669921ec49032f62685af03ec7e 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.GetByteString(); |
+ return sCaret.AsStringC(); |
} |
void CPWL_Caret::TimerProc() { |