diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-06-10 14:33:37 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-06-10 14:33:37 -0700 |
commit | d7e5cc754a937605d1f73db5e7967c58ddd80742 (patch) | |
tree | ed28e012c4d6a46b7f29f15a0c060474c27d4286 /fpdfsdk/src/pdfwindow | |
parent | bfa9a824a20f37c2dd7111012b46c929cf2ed8a0 (diff) | |
download | pdfium-d7e5cc754a937605d1f73db5e7967c58ddd80742.tar.xz |
Merge to XFA: Remove typdefs for pointer types in fx_system.h.
Original Review URL: https://codereview.chromium.org/1171733003
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1178613002.
Diffstat (limited to 'fpdfsdk/src/pdfwindow')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_Edit.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_FontMap.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_Icon.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_Label.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_ListBox.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_Note.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_Signature.cpp | 6 |
9 files changed, 15 insertions, 15 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp b/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp index cbc2ba46ba..f3dce6ad72 100644 --- a/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp @@ -244,13 +244,13 @@ CFX_WideString CPWL_ComboBox::GetText() const return CFX_WideString(); } -void CPWL_ComboBox::SetText(FX_LPCWSTR text) +void CPWL_ComboBox::SetText(const FX_WCHAR* text) { if (m_pEdit) m_pEdit->SetText(text); } -void CPWL_ComboBox::AddString(FX_LPCWSTR string) +void CPWL_ComboBox::AddString(const FX_WCHAR* string) { if (m_pList) m_pList->AddString(string); diff --git a/fpdfsdk/src/pdfwindow/PWL_Edit.cpp b/fpdfsdk/src/pdfwindow/PWL_Edit.cpp index f50233ff1c..62f09eff2b 100644 --- a/fpdfsdk/src/pdfwindow/PWL_Edit.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_Edit.cpp @@ -37,7 +37,7 @@ void CPWL_Edit::OnDestroy() { } -void CPWL_Edit::SetText(FX_LPCWSTR csText) +void CPWL_Edit::SetText(const FX_WCHAR* csText) { CFX_WideString swText = csText; @@ -865,7 +865,7 @@ void CPWL_Edit::SetLimitChar(int32_t nLimitChar) m_pEdit->SetLimitChar(nLimitChar); } -void CPWL_Edit::ReplaceSel(FX_LPCWSTR csText) +void CPWL_Edit::ReplaceSel(const FX_WCHAR* csText) { m_pEdit->Clear(); m_pEdit->InsertText(csText); diff --git a/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp b/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp index a38371c326..57b0c01782 100644 --- a/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp @@ -561,7 +561,7 @@ FX_FLOAT CPWL_EditCtrl::GetCaretFontSize() const return fFontSize; } -void CPWL_EditCtrl::SetText(FX_LPCWSTR csText) +void CPWL_EditCtrl::SetText(const FX_WCHAR* csText) { m_pEdit->SetText(csText); } @@ -582,7 +582,7 @@ void CPWL_EditCtrl::ShowVScrollBar(FX_BOOL bShow) { } -void CPWL_EditCtrl::InsertText(FX_LPCWSTR csText) +void CPWL_EditCtrl::InsertText(const FX_WCHAR* csText) { if (!IsReadOnly()) m_pEdit->InsertText(csText); diff --git a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp index 085159f5f3..bd01eab3da 100644 --- a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp @@ -195,7 +195,7 @@ void CPWL_FontMap::Empty() } } -void CPWL_FontMap::Initial(FX_LPCSTR fontname) +void CPWL_FontMap::Initial(const FX_CHAR* fontname) { CFX_ByteString sFontName = fontname; diff --git a/fpdfsdk/src/pdfwindow/PWL_Icon.cpp b/fpdfsdk/src/pdfwindow/PWL_Icon.cpp index 9426824c8e..f85156da0c 100644 --- a/fpdfsdk/src/pdfwindow/PWL_Icon.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_Icon.cpp @@ -109,7 +109,7 @@ CFX_ByteString CPWL_Image::GetImageAlias() return CFX_ByteString(); } -void CPWL_Image::SetImageAlias(FX_LPCSTR sImageAlias) +void CPWL_Image::SetImageAlias(const FX_CHAR* sImageAlias) { m_sImageAlias = sImageAlias; } diff --git a/fpdfsdk/src/pdfwindow/PWL_Label.cpp b/fpdfsdk/src/pdfwindow/PWL_Label.cpp index f2f3929e3f..9875002437 100644 --- a/fpdfsdk/src/pdfwindow/PWL_Label.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_Label.cpp @@ -43,7 +43,7 @@ void CPWL_Label::OnCreated() } } -void CPWL_Label::SetText(FX_LPCWSTR csText) +void CPWL_Label::SetText(const FX_WCHAR* csText) { m_pEdit->SetText(csText); } diff --git a/fpdfsdk/src/pdfwindow/PWL_ListBox.cpp b/fpdfsdk/src/pdfwindow/PWL_ListBox.cpp index 47c1c86123..ecf9e1231f 100644 --- a/fpdfsdk/src/pdfwindow/PWL_ListBox.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_ListBox.cpp @@ -462,7 +462,7 @@ CPDF_Rect CPWL_ListBox::GetFocusRect() const return CPWL_Wnd::GetFocusRect(); } -void CPWL_ListBox::AddString(FX_LPCWSTR string) +void CPWL_ListBox::AddString(const FX_WCHAR* string) { if (m_pList) { @@ -470,7 +470,7 @@ void CPWL_ListBox::AddString(FX_LPCWSTR string) } } -void CPWL_ListBox::SetText(FX_LPCWSTR csText,FX_BOOL bRefresh) +void CPWL_ListBox::SetText(const FX_WCHAR* csText,FX_BOOL bRefresh) { //return CPDF_List::SetText(csText,bRefresh); } diff --git a/fpdfsdk/src/pdfwindow/PWL_Note.cpp b/fpdfsdk/src/pdfwindow/PWL_Note.cpp index 6e8ffcd546..13e15a0518 100644 --- a/fpdfsdk/src/pdfwindow/PWL_Note.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_Note.cpp @@ -143,7 +143,7 @@ void CPWL_Note_Edit::RePosChildWnd() m_fOldItemHeight = this->GetContentRect().Height(); } -void CPWL_Note_Edit::SetText(FX_LPCWSTR csText) +void CPWL_Note_Edit::SetText(const FX_WCHAR* csText) { m_bEnableNotify = FALSE; CPWL_Edit::SetText(csText); diff --git a/fpdfsdk/src/pdfwindow/PWL_Signature.cpp b/fpdfsdk/src/pdfwindow/PWL_Signature.cpp index fe07630057..4864cabc11 100644 --- a/fpdfsdk/src/pdfwindow/PWL_Signature.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_Signature.cpp @@ -99,14 +99,14 @@ void CPWL_Signature::SetFoxitFlag(FX_BOOL bFlagExist) m_bFlagExist = bFlagExist; } -void CPWL_Signature::SetText(FX_LPCWSTR sText) +void CPWL_Signature::SetText(const FX_WCHAR* sText) { m_pText->SetText(sText); RePosChildWnd(); } -void CPWL_Signature::SetDescription(FX_LPCWSTR string) +void CPWL_Signature::SetDescription(const FX_WCHAR* string) { m_pDescription->SetText(string); @@ -120,7 +120,7 @@ void CPWL_Signature::SetImage(CFX_DIBSource* pImage) RePosChildWnd(); } -void CPWL_Signature::SetImageStream(CPDF_Stream * pStream, FX_LPCSTR sImageAlias) +void CPWL_Signature::SetImageStream(CPDF_Stream * pStream, const FX_CHAR* sImageAlias) { m_pImage->SetPDFStream(pStream); m_pImage->SetImageAlias(sImageAlias); |