diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widgetdata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.h b/xfa/fxfa/parser/cxfa_widgetdata.h index 9d955a3d99..309f00fe12 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.h +++ b/xfa/fxfa/parser/cxfa_widgetdata.h @@ -61,12 +61,12 @@ class CXFA_WidgetData : public CXFA_DataData { CXFA_CalculateData GetCalculateData(); CXFA_ValidateData GetValidateData(bool bModified); - bool TryWidth(float& fWidth); - bool TryHeight(float& fHeight); - bool TryMinWidth(float& fMinWidth); - bool TryMinHeight(float& fMinHeight); - bool TryMaxWidth(float& fMaxWidth); - bool TryMaxHeight(float& fMaxHeight); + pdfium::Optional<float> TryWidth(); + pdfium::Optional<float> TryHeight(); + pdfium::Optional<float> TryMinWidth(); + pdfium::Optional<float> TryMinHeight(); + pdfium::Optional<float> TryMaxWidth(); + pdfium::Optional<float> TryMaxHeight(); CXFA_BorderData GetUIBorderData(); CFX_RectF GetUIMargin(); |