From ee60c441dc73100b5041f4d0fb1675fade00d82c Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 24 Jun 2017 16:02:51 +0200 Subject: [PATCH] Related tdf#40713, use DecodeMechanism::Unambiguous Change-Id: I73221fb6c127903398a7faae48d5247339ec8d7f Reviewed-on: https://gerrit.libreoffice.org/39214 Reviewed-by: Lionel Elie Mamane Tested-by: Jenkins --- sc/source/ui/docshell/docsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index fd4721744e27..adb16f10827d 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -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 ) )