diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-27 12:06:58 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-27 12:06:58 -0700 |
commit | 4f7bc04ed64edbf72f49b2189f85bb88f0b547c7 (patch) | |
tree | 708c0cc04028015e2860f07e8e60780b34137094 /fpdfsdk/src/pdfwindow/PWL_IconList.cpp | |
parent | e5350eff5c5cfe4d01686a4c787d764bde5dd23c (diff) | |
download | pdfium-4f7bc04ed64edbf72f49b2189f85bb88f0b547c7.tar.xz |
Merge to XFA: Reduce usage of operator LPCWSTR from CFX_WideString().
Original Review URL: https://codereview.chromium.org/1101933003
TBR=brucedawson@chromium.org
Review URL: https://codereview.chromium.org/1108903002
Diffstat (limited to 'fpdfsdk/src/pdfwindow/PWL_IconList.cpp')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_IconList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_IconList.cpp b/fpdfsdk/src/pdfwindow/PWL_IconList.cpp index 1d58a90111..990f8b893f 100644 --- a/fpdfsdk/src/pdfwindow/PWL_IconList.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_IconList.cpp @@ -107,7 +107,7 @@ void CPWL_IconList_Item::SetIcon(FX_INT32 nIconIndex) void CPWL_IconList_Item::SetText(const CFX_WideString& str) { - m_pText->SetText(str); + m_pText->SetText(str.c_str()); } CFX_WideString CPWL_IconList_Item::GetText() const |