diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-20 14:57:23 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-20 14:57:23 -0800 |
commit | 54bc568bb41c5c258e95c24ef9d7355dcdc20f9e (patch) | |
tree | 3e2d5aff0b329a486b69efd4b620ae13413c58bc /fpdfsdk/include/pdfwindow | |
parent | faab0f0add8317a7f95a8477e77bae716a10e977 (diff) | |
download | pdfium-54bc568bb41c5c258e95c24ef9d7355dcdc20f9e.tar.xz |
Replace |CPWL_ComboBox::operator CPWL_Edit()| with explicit method.
More casts go away.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1467653002 .
Diffstat (limited to 'fpdfsdk/include/pdfwindow')
-rw-r--r-- | fpdfsdk/include/pdfwindow/PWL_ComboBox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/include/pdfwindow/PWL_ComboBox.h b/fpdfsdk/include/pdfwindow/PWL_ComboBox.h index be0ef0f5e1..9edb02c964 100644 --- a/fpdfsdk/include/pdfwindow/PWL_ComboBox.h +++ b/fpdfsdk/include/pdfwindow/PWL_ComboBox.h @@ -49,7 +49,7 @@ class CPWL_ComboBox : public CPWL_Wnd { CPWL_ComboBox(); ~CPWL_ComboBox() override {} - operator CPWL_Edit*() { return m_pEdit; } + CPWL_Edit* GetEdit() const { return m_pEdit; } // CPWL_Wnd: CFX_ByteString GetClassName() const override; |