summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffnotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffnotify.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffnotify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffnotify.cpp b/xfa/fxfa/cxfa_ffnotify.cpp
index 7e66e4e888..fc425c50f9 100644
--- a/xfa/fxfa/cxfa_ffnotify.cpp
+++ b/xfa/fxfa/cxfa_ffnotify.cpp
@@ -360,7 +360,7 @@ void CXFA_FFNotify::OnNodeReady(CXFA_Node* pNode) {
void CXFA_FFNotify::OnValueChanging(CXFA_Node* pSender, XFA_Attribute eAttr) {
if (eAttr != XFA_Attribute::Presence)
return;
- if (pSender->GetPacketID() & XFA_XDPPACKET_Datasets)
+ if (pSender->GetPacketType() == XFA_PacketType::Datasets)
return;
if (!pSender->IsFormContainer())
return;
@@ -390,7 +390,7 @@ void CXFA_FFNotify::OnValueChanged(CXFA_Node* pSender,
if (!pDocView)
return;
- if (!(pSender->GetPacketID() & XFA_XDPPACKET_Form)) {
+ if (pSender->GetPacketType() != XFA_PacketType::Form) {
if (eAttr == XFA_Attribute::Value)
pDocView->AddCalculateNodeNotify(pSender);
return;