Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / fpdfsdk / src / fsdk_actionhandler.cpp
index 25f39ff..d427686 100644 (file)
@@ -599,8 +599,9 @@ void CPDFSDK_ActionHandler::DoAction_URI(CPDFSDK_Document* pDocument, const CPDF
 
        CPDFDoc_Environment* pApp = pDocument->GetEnv();
        ASSERT(pApp != NULL);
+
        CFX_ByteString sURI = action.GetURI(pDocument->GetDocument()->GetPDFDoc());
-       pApp->FFI_DoURIAction(FX_LPCSTR(sURI));
+       pApp->FFI_DoURIAction(sURI.c_str());
 }
 
 void CPDFSDK_ActionHandler::DoAction_Named(CPDFSDK_Document* pDocument, const CPDF_Action& action)