summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-21 16:33:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-21 16:33:05 +0000
commit93446500616ad2c89d91b0ff75ff6d8d6dcc4427 (patch)
treec8f1a2d2271faa249737ef2e8f5de4a039b8021d /xfa/fxfa/parser
parent0d54f09ae49c0cf85de5fe2bd3da885c16523018 (diff)
downloadpdfium-93446500616ad2c89d91b0ff75ff6d8d6dcc4427.tar.xz
Remove unused CXFA_DataData::SetMeasure
Not called, removed. Change-Id: I83877ba786990869ece29d33bb06dd6954b249dc Reviewed-on: https://pdfium-review.googlesource.com/18893 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
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;
};