Index: core/fpdfdoc/cpdf_variabletext.cpp |
diff --git a/core/fpdfdoc/cpdf_variabletext.cpp b/core/fpdfdoc/cpdf_variabletext.cpp |
index 67887400a47e940523399f7581d60ee80c227780..427cd5d306b50254228fd5ba2c75c31ad8aa7c4e 100644 |
--- a/core/fpdfdoc/cpdf_variabletext.cpp |
+++ b/core/fpdfdoc/cpdf_variabletext.cpp |
@@ -1153,9 +1153,6 @@ CPDF_VariableText::Iterator* CPDF_VariableText::GetIterator() { |
return m_pVTIterator; |
} |
-CPDF_VariableText::Provider* CPDF_VariableText::SetProvider( |
- CPDF_VariableText::Provider* pProvider) { |
- CPDF_VariableText::Provider* pOld = m_pVTProvider; |
+void CPDF_VariableText::SetProvider(CPDF_VariableText::Provider* pProvider) { |
m_pVTProvider = pProvider; |
- return pOld; |
} |