Revert "remove unnecessary use of local variable and auto_ptr"
Revert "remove unnecessary use of local variable and auto_ptr"

This reverts commit 6af00cf90f4314be11ac7d8f186bb9da4f228cf1.

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core