From 93446500616ad2c89d91b0ff75ff6d8d6dcc4427 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 21 Nov 2017 16:33:05 +0000 Subject: Remove unused CXFA_DataData::SetMeasure Not called, removed. Change-Id: I83877ba786990869ece29d33bb06dd6954b249dc Reviewed-on: https://pdfium-review.googlesource.com/18893 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fxfa/parser/cxfa_datadata.cpp | 5 ----- xfa/fxfa/parser/cxfa_datadata.h | 1 - 2 files changed, 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; }; -- cgit v1.2.3