Index: core/fpdfapi/fpdf_page/cpdf_textstate.h |
diff --git a/core/fpdfapi/fpdf_page/cpdf_textstate.h b/core/fpdfapi/fpdf_page/cpdf_textstate.h |
index 59c988de0673a500abe87f185d2cf2f83654f280..235bdf1aa1a96efcc6e58213d7d45d3b84ef4deb 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_textstate.h |
+++ b/core/fpdfapi/fpdf_page/cpdf_textstate.h |
@@ -18,8 +18,8 @@ class CPDF_TextState : public CFX_CountRef<CPDF_TextStateData> { |
void SetFont(CPDF_Font* pFont); |
FX_FLOAT GetFontSize() const { return GetObject()->m_FontSize; } |
- FX_FLOAT* GetMatrix() { return GetObject()->m_Matrix; } |
const FX_FLOAT* GetMatrix() const { return GetObject()->m_Matrix; } |
+ FX_FLOAT* GetMutableMatrix() { return GetPrivateCopy()->m_Matrix; } |
FX_FLOAT GetFontSizeV() const; |
FX_FLOAT GetFontSizeH() const; |