Remove trailing whitespaces in fpdfsdk.
[pdfium.git] / fpdfsdk / src / fsdk_actionhandler.cpp
index 50d6b65..b790585 100644 (file)
@@ -106,14 +106,14 @@ FX_BOOL   CPDFSDK_ActionHandler::DoAction_BookMark(CPDF_Bookmark *pBookMark, const
                                                        CPDFSDK_Document* pDocument)
 {
        CFX_PtrList list;
-       return this->ExecuteBookMark(action, pDocument, pBookMark, list);
+       return ExecuteBookMark(action, pDocument, pBookMark, list);
 }
 
 FX_BOOL        CPDFSDK_ActionHandler::DoAction_Screen(const CPDF_Action& action, CPDF_AAction::AActionType type,
                                                                                CPDFSDK_Document* pDocument, CPDFSDK_Annot* pScreen)
 {
        CFX_PtrList list;
-       return this->ExecuteScreenAction(action, type, pDocument, pScreen, list);
+       return ExecuteScreenAction(action, type, pDocument, pScreen, list);
 }
 
 FX_BOOL        CPDFSDK_ActionHandler::DoAction_Link(const CPDF_Action& action,
@@ -600,7 +600,7 @@ void CPDFSDK_ActionHandler::DoAction_URI(CPDFSDK_Document* pDocument, const CPDF
        ASSERT(pApp != NULL);
 
        CFX_ByteString sURI = action.GetURI(pDocument->GetDocument());
-       pApp->FFI_DoURIAction(FX_LPCSTR(sURI));
+       pApp->FFI_DoURIAction(sURI.c_str());
 }
 
 void CPDFSDK_ActionHandler::DoAction_Named(CPDFSDK_Document* pDocument, const CPDF_Action& action)
@@ -653,7 +653,7 @@ void CPDFSDK_ActionHandler::RunFieldJavaScript(CPDFSDK_Document* pDocument, CPDF
                pContext->OnField_Blur(data.bModifier, data.bShift, pFormField, data.sValue);
                break;
        case CPDF_AAction::KeyStroke:
-               pContext->OnField_Keystroke(data.nCommitKey, data.sChange, data.sChangeEx, data.bKeyDown,
+               pContext->OnField_Keystroke(data.sChange, data.sChangeEx, data.bKeyDown,
                        data.bModifier, data.nSelEnd, data.nSelStart, data.bShift, pFormField, data.sValue,
                        data.bWillCommit, data.bFieldFull, data.bRC);
                break;