From e6324fa7137fa224daa397464293e0c74e1c68ce Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Thu, 11 May 2017 09:57:27 -0400 Subject: Remove unused GetPlatformSurface and GetDC methods The times we need the DC we call ::GetDC to retrieve it from the platform. These methods are unused. Change-Id: If83aa9b37ae2231d8029db6f2e6d8d17f1825611 Reviewed-on: https://pdfium-review.googlesource.com/5350 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- core/fxge/win32/fx_win32_print.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/fxge/win32/fx_win32_print.cpp') diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp index 86636b5bfa..f060c04127 100644 --- a/core/fxge/win32/fx_win32_print.cpp +++ b/core/fxge/win32/fx_win32_print.cpp @@ -491,7 +491,3 @@ bool CPSPrinterDriver::DrawDeviceText(int nChars, return m_PSRenderer.DrawText(nChars, pCharPos, pFont, pObject2Device, font_size, color); } - -void* CPSPrinterDriver::GetPlatformSurface() const { - return m_hDC; -} -- cgit v1.2.3