summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp')
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp b/xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp
index 3b5a462188..e6efa13b86 100644
--- a/xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp
+++ b/xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp
@@ -162,8 +162,7 @@ void CXFA_FFPushButton::LoadHighlightCaption() {
}
}
void CXFA_FFPushButton::LayoutHighlightCaption() {
- CFX_SizeF sz;
- sz.Set(m_rtCaption.width, m_rtCaption.height);
+ CFX_SizeF sz(m_rtCaption.width, m_rtCaption.height);
LayoutCaption();
if (m_pRolloverTextLayout) {
m_pRolloverTextLayout->Layout(sz);