Remove unused CFGAS_BreakPiece member.
Remove the `m_dwIdentity` member because it is set but never read.
Change-Id: I6585896ed0641faedb1e57ff484c3836d77b055f
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/95090
Reviewed-by: Nigi <nigi@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/xfa/fgas/layout/cfgas_breakpiece.h b/xfa/fgas/layout/cfgas_breakpiece.h
index 5170850..cbdb402 100644
--- a/xfa/fgas/layout/cfgas_breakpiece.h
+++ b/xfa/fgas/layout/cfgas_breakpiece.h
@@ -39,7 +39,6 @@
int32_t m_iFontSize = 0;
int32_t m_iHorizontalScale = 100;
int32_t m_iVerticalScale = 100;
- uint32_t m_dwIdentity = 0;
uint32_t m_dwCharStyles = 0;
UnownedPtr<std::vector<CFGAS_Char>> m_pChars;
RetainPtr<CFGAS_TextUserData> m_pUserData;
diff --git a/xfa/fgas/layout/cfgas_rtfbreak.cpp b/xfa/fgas/layout/cfgas_rtfbreak.cpp
index e5a46db..f24035e 100644
--- a/xfa/fgas/layout/cfgas_rtfbreak.cpp
+++ b/xfa/fgas/layout/cfgas_rtfbreak.cpp
@@ -383,7 +383,6 @@
tp.m_iHorizontalScale = pTC->horizonal_scale();
tp.m_iVerticalScale = pTC->vertical_scale();
dwIdentity = pTC->m_dwIdentity;
- tp.m_dwIdentity = dwIdentity;
tp.m_pUserData = pTC->m_pUserData;
j = i;
bNew = false;
@@ -456,7 +455,6 @@
tp.m_iHorizontalScale = pTC->horizonal_scale();
tp.m_iVerticalScale = pTC->vertical_scale();
dwIdentity = pTC->m_dwIdentity;
- tp.m_dwIdentity = dwIdentity;
tp.m_pUserData = pTC->m_pUserData;
tp.m_dwStatus = CFGAS_Char::BreakType::kPiece;
++i;