summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-06-24 16:02:51 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-06-24 19:51:31 +0200
commit611299a16f9b21914d37788b700af0e0ba9a5aa0 (patch)
tree492e7f871553b689db840eda8c6c67105fe89374
parenta8dc650eaae7d35b944b62560056bda0423d3f96 (diff)
Related tdf#40713, use DecodeMechanism::Unambiguous
Change-Id: I73221fb6c127903398a7faae48d5247339ec8d7f Reviewed-on: https://gerrit.libreoffice.org/39215 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 69a724d44b55..69b399a0c355 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 ) )