Index: core/fpdfapi/fpdf_page/cpdf_textobject.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_textobject.cpp b/core/fpdfapi/fpdf_page/cpdf_textobject.cpp |
index bd17dea86e6a7959d361c685b665e03d0ab29593..af6ae0674180737f03c3658f8ceb9362a81cb211 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_textobject.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_textobject.cpp |
@@ -133,11 +133,11 @@ CPDF_PageObject::Type CPDF_TextObject::GetType() const { |
} |
void CPDF_TextObject::Transform(const CFX_Matrix& matrix) { |
- m_TextState.GetPrivateCopy(); |
CFX_Matrix text_matrix; |
GetTextMatrix(&text_matrix); |
text_matrix.Concat(matrix); |
- FX_FLOAT* pTextMatrix = m_TextState.GetMatrix(); |
+ |
+ FX_FLOAT* pTextMatrix = m_TextState.GetMutableMatrix(); |
pTextMatrix[0] = text_matrix.GetA(); |
pTextMatrix[1] = text_matrix.GetC(); |
pTextMatrix[2] = text_matrix.GetB(); |