diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-01-09 11:46:17 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-01-09 11:46:17 -0800 |
commit | e5b59cacbb7ed6bcefe25d736a315753dd764594 (patch) | |
tree | 973eb3e80739558ba3c06f8b06358bfb1c79581c /fpdfsdk/src/fpdf_sysfontinfo.cpp | |
parent | 1c83be6bedb4dceb06ef7e8e6a5d76105d0fff4d (diff) | |
download | pdfium-e5b59cacbb7ed6bcefe25d736a315753dd764594.tar.xz |
merge to XFA: Fix -Wnon-virtual-dtor compiler warnings.
Original at URL: https://codereview.chromium.org/810883005
Note that the new code in XFA introduces many more of these, to be handled
separately.
TBR=brucedawson@chromium.org
TBR=thestig@chromium.org
BUG=https://code.google.com/p/pdfium/issues/detail?id=102
Review URL: https://codereview.chromium.org/842223004
Diffstat (limited to 'fpdfsdk/src/fpdf_sysfontinfo.cpp')
-rw-r--r-- | fpdfsdk/src/fpdf_sysfontinfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fpdfsdk/src/fpdf_sysfontinfo.cpp b/fpdfsdk/src/fpdf_sysfontinfo.cpp index 0e0114b372..f60dc9723e 100644 --- a/fpdfsdk/src/fpdf_sysfontinfo.cpp +++ b/fpdfsdk/src/fpdf_sysfontinfo.cpp @@ -75,6 +75,9 @@ public: if (m_pInfo->DeleteFont) m_pInfo->DeleteFont(m_pInfo, hFont); } + +private: + ~CSysFontInfo_Ext() { } }; DLLEXPORT void STDCALL FPDF_AddInstalledFont(void* mapper, const char* name, int charset) |