fix for PtylTestEncryptionAndExport (on sofficemain.cxx)

Change-Id: I2857dae2df3b3e7e89b5bd56b35a4b8f3868920e