summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_margindata.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_margindata.h')
-rw-r--r--xfa/fxfa/parser/cxfa_margindata.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_margindata.h b/xfa/fxfa/parser/cxfa_margindata.h
index 1a8b4d8be1..069aa7cc2d 100644
--- a/xfa/fxfa/parser/cxfa_margindata.h
+++ b/xfa/fxfa/parser/cxfa_margindata.h
@@ -21,10 +21,10 @@ class CXFA_MarginData : public CXFA_DataData {
float GetRightInset() const;
float GetBottomInset() const;
- bool TryLeftInset(float& fInset) const;
- bool TryTopInset(float& fInset) const;
- bool TryRightInset(float& fInset) const;
- bool TryBottomInset(float& fInset) const;
+ pdfium::Optional<float> TryLeftInset() const;
+ pdfium::Optional<float> TryTopInset() const;
+ pdfium::Optional<float> TryRightInset() const;
+ pdfium::Optional<float> TryBottomInset() const;
};
#endif // XFA_FXFA_PARSER_CXFA_MARGINDATA_H_