From c560a8c11a6f8ee239e570db8c022ae0fd2a4db5 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Thu, 4 Jan 2018 14:43:27 -0500 Subject: Convert usages of pdfium::Optional to Optional Change-Id: I29769f78eaad10c6a8b79e27524336c4f330377e Reviewed-on: https://pdfium-review.googlesource.com/22258 Reviewed-by: Tom Sepez Reviewed-by: dsinclair Commit-Queue: Ryan Harrison --- fxjs/xfa/cjx_field.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fxjs/xfa/cjx_field.cpp') diff --git a/fxjs/xfa/cjx_field.cpp b/fxjs/xfa/cjx_field.cpp index cb0722eeee..b652aeedab 100644 --- a/fxjs/xfa/cjx_field.cpp +++ b/fxjs/xfa/cjx_field.cpp @@ -104,8 +104,7 @@ CJS_Return CJX_Field::getSaveItem( if (!pWidgetAcc) return CJS_Return(runtime->NewNull()); - pdfium::Optional value = - pWidgetAcc->GetChoiceListItem(iIndex, true); + Optional value = pWidgetAcc->GetChoiceListItem(iIndex, true); if (!value) return CJS_Return(runtime->NewNull()); @@ -169,8 +168,7 @@ CJS_Return CJX_Field::getDisplayItem( if (!pWidgetAcc) return CJS_Return(runtime->NewNull()); - pdfium::Optional value = - pWidgetAcc->GetChoiceListItem(iIndex, false); + Optional value = pWidgetAcc->GetChoiceListItem(iIndex, false); if (!value) return CJS_Return(runtime->NewNull()); -- cgit v1.2.3