Index: xfa/fwl/core/cfwl_scrollbar.cpp |
diff --git a/xfa/fwl/core/cfwl_scrollbar.cpp b/xfa/fwl/core/cfwl_scrollbar.cpp |
index 6647350ef253453bcbf30ba5dbe93d23b041e71c..536f7991ea473cbc55dae5e7e7c010fe9521da42 100644 |
--- a/xfa/fwl/core/cfwl_scrollbar.cpp |
+++ b/xfa/fwl/core/cfwl_scrollbar.cpp |
@@ -375,14 +375,12 @@ bool CFWL_ScrollBar::SendEvent() { |
} |
bool CFWL_ScrollBar::OnScroll(FWL_SCBCODE dwCode, FX_FLOAT fPos) { |
- bool bRet = true; |
CFWL_EvtScroll ev; |
ev.m_iScrollCode = dwCode; |
ev.m_pSrcTarget = this; |
ev.m_fPos = fPos; |
- ev.m_pRet = &bRet; |
DispatchEvent(&ev); |
- return bRet; |
+ return true; |
} |
void CFWL_ScrollBar::OnProcessMessage(CFWL_Message* pMessage) { |