Related tdf#40713, use DecodeMechanism::Unambiguous
Change-Id: I73221fb6c127903398a7faae48d5247339ec8d7f Reviewed-on: https://gerrit.libreoffice.org/39214 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
@@ -2382,7 +2382,7 @@ bool ScDocShell::ConvertTo( SfxMedium &rMed )
|
||||
|
||||
// tdf#40713: don't lose dbt file
|
||||
// if aDbtFile corresponds exactly to aTmpFile, we just have to return
|
||||
if (aDbtFile.GetMainURL( INetURLObject::DecodeMechanism::NONE ) == aTmpFile.GetMainURL( INetURLObject::DecodeMechanism::NONE ))
|
||||
if (aDbtFile.GetMainURL( INetURLObject::DecodeMechanism::Unambiguous ) == aTmpFile.GetMainURL( INetURLObject::DecodeMechanism::Unambiguous ))
|
||||
return bRet;
|
||||
|
||||
if ( IsDocument( aDbtFile ) && !KillFile( aDbtFile ) )
|
||||
|
Reference in New Issue
Block a user