diff options
Diffstat (limited to 'framework/source/services/autorecovery.cxx')
-rw-r--r-- | framework/source/services/autorecovery.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 3ecc95ced885..a17e9464e715 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -3485,10 +3485,7 @@ void AutoRecovery::implts_generateNewTempURL(const OUString& sBack // TODO: Must we strip some illegal signs - if we use the title? - OUString sName(sUniqueName.makeStringAndClear()); - OUString sExtension(rInfo.Extension); - OUString sPath(sBackupPath); - ::utl::TempFile aTempFile(sName, true, &sExtension, &sPath, true); + ::utl::TempFile aTempFile(sUniqueName, true, rInfo.Extension, &sBackupPath, true); rInfo.NewTempURL = aTempFile.GetURL(); } |