summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
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:23 +0200
commitee60c441dc73100b5041f4d0fb1675fade00d82c (patch)
tree3e97c66e8c8bff531fbaf95e4588224925a82176 /sc/source/ui/docshell/docsh.cxx
parent6ade3ef203238a211754c9c69000f155edd15ca9 (diff)
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>
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-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 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 ) )