summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r--xfa/fxfa/parser/cxfa_datadata.cpp5
-rw-r--r--xfa/fxfa/parser/cxfa_datadata.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/xfa/fxfa/parser/cxfa_datadata.cpp b/xfa/fxfa/parser/cxfa_datadata.cpp
index b08801a386..28bb0a8b02 100644
--- a/xfa/fxfa/parser/cxfa_datadata.cpp
+++ b/xfa/fxfa/parser/cxfa_datadata.cpp
@@ -80,8 +80,3 @@ bool CXFA_DataData::TryMeasure(XFA_Attribute eAttr,
fValue = measure->ToUnit(XFA_Unit::Pt);
return true;
}
-
-bool CXFA_DataData::SetMeasure(XFA_Attribute eAttr, float fValue) {
- CXFA_Measurement ms(fValue, XFA_Unit::Pt);
- return m_pNode->JSNode()->SetMeasure(eAttr, ms, false);
-}
diff --git a/xfa/fxfa/parser/cxfa_datadata.h b/xfa/fxfa/parser/cxfa_datadata.h
index 260ebbd5da..ff5aa2a3cf 100644
--- a/xfa/fxfa/parser/cxfa_datadata.h
+++ b/xfa/fxfa/parser/cxfa_datadata.h
@@ -28,7 +28,6 @@ class CXFA_DataData {
bool TryMeasure(XFA_Attribute eAttr,
float& fValue,
bool bUseDefault = false) const;
- bool SetMeasure(XFA_Attribute eAttr, float fValue);
CXFA_Node* m_pNode;
};