Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2410)

Unified Diff: fpdfsdk/src/fsdk_annothandler.cpp

Issue 1635853002: XFA: Fix a bunch of pointless returns. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | fpdfsdk/src/fsdk_baseannot.cpp » ('j') | xfa/src/fee/src/fee/fde_txtedtengine.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/fsdk_annothandler.cpp
diff --git a/fpdfsdk/src/fsdk_annothandler.cpp b/fpdfsdk/src/fsdk_annothandler.cpp
index 08d33a2e37b3d9aa4b48c1381f82adc516741ae8..395e3a0f5d8effc7c40ddee347bd66fe1dd1839b 100644
--- a/fpdfsdk/src/fsdk_annothandler.cpp
+++ b/fpdfsdk/src/fsdk_annothandler.cpp
@@ -243,7 +243,6 @@ void CPDFSDK_AnnotHandlerMgr::Annot_OnMouseEnter(CPDFSDK_PageView* pPageView,
if (IPDFSDK_AnnotHandler* pAnnotHandler = GetAnnotHandler(pAnnot)) {
Tom Sepez 2016/01/26 00:15:38 nit: no {}.
Lei Zhang 2016/01/26 00:31:02 Done.
pAnnotHandler->OnMouseEnter(pPageView, pAnnot, nFlag);
}
- return;
}
void CPDFSDK_AnnotHandlerMgr::Annot_OnMouseExit(CPDFSDK_PageView* pPageView,
@@ -254,7 +253,6 @@ void CPDFSDK_AnnotHandlerMgr::Annot_OnMouseExit(CPDFSDK_PageView* pPageView,
if (IPDFSDK_AnnotHandler* pAnnotHandler = GetAnnotHandler(pAnnot)) {
Tom Sepez 2016/01/26 00:15:38 nit: no {}
Lei Zhang 2016/01/26 00:31:02 Done.
pAnnotHandler->OnMouseExit(pPageView, pAnnot, nFlag);
}
- return;
}
FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnChar(CPDFSDK_Annot* pAnnot,
« no previous file with comments | « no previous file | fpdfsdk/src/fsdk_baseannot.cpp » ('j') | xfa/src/fee/src/fee/fde_txtedtengine.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698