From 129297f6ae97169093d4affe3c8421b757bd95ec Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 17 Aug 2017 12:01:03 -0700 Subject: Remove default parameters in CXFA_Graphics methods. Constify parameters as well. Change-Id: I7e87b11cc73b133b04d49ceed1c46f5afcb89d1a Reviewed-on: https://pdfium-review.googlesource.com/11111 Commit-Queue: Lei Zhang Reviewed-by: dsinclair --- xfa/fwl/cfwl_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fwl/cfwl_edit.cpp') diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp index 6d14ad2e3c..184329fcac 100644 --- a/xfa/fwl/cfwl_edit.cpp +++ b/xfa/fwl/cfwl_edit.cpp @@ -188,7 +188,7 @@ void CFWL_Edit::DrawSpellCheck(CXFA_Graphics* pGraphics, const CFX_Matrix* pMatrix) { pGraphics->SaveGraphState(); if (pMatrix) - pGraphics->ConcatMatrix(const_cast(pMatrix)); + pGraphics->ConcatMatrix(pMatrix); CFWL_EventCheckWord checkWordEvent(this); CFX_ByteString sLatinWord; -- cgit v1.2.3