summaryrefslogtreecommitdiff
path: root/xfa/src
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src')
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffwidget.cpp b/xfa/src/fxfa/src/app/xfa_ffwidget.cpp
index 47042f71af..8cc281ccff 100644
--- a/xfa/src/fxfa/src/app/xfa_ffwidget.cpp
+++ b/xfa/src/fxfa/src/app/xfa_ffwidget.cpp
@@ -1882,10 +1882,10 @@ static void XFA_BOX_Stroke(CXFA_Box box,
XFA_BOX_StrokeArc(box, pGS, rtWidget, pMatrix, dwFlags);
return;
}
- FX_BOOL bVisible = FALSE;
+ bool bVisible = false;
for (int32_t j = 0; j < 4; j++) {
- bVisible |= strokes[j * 2 + 1].IsVisible();
- if (bVisible) {
+ if (strokes[j * 2 + 1].IsVisible()) {
+ bVisible = true;
break;
}
}