diff options
author | Eike Rathke <erack@redhat.com> | 2015-01-07 22:26:40 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-01-09 16:10:03 +0100 |
commit | 19feb49bd1b232425b7be19b55b950cbbc1bff67 (patch) | |
tree | ee26bfc82f061fa7d0aae414e5dc3266ee62f3d4 /sc | |
parent | asan: stack-buffer-overflow with fdo76216-1.doc (diff) | |
download | core-19feb49bd1b232425b7be19b55b950cbbc1bff67.tar.gz core-19feb49bd1b232425b7be19b55b950cbbc1bff67.zip |
Revert "NO_DECODE breaks non-ascii urls, fdo#85617"
This reverts commit 808b0bf831d4a4fdb60c01865d0a7dd36cf9d521.
This is not the right fix, it cures a symptom but probably will break
other cases. See also my comment on https://gerrit.libreoffice.org/13670
Change-Id: I5bb661ba2bcbd387a69aacf08cb13b503315c5b1
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/global2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/global2.cxx b/sc/source/core/data/global2.cxx index 5fd14cc47f16..93da6d3d533a 100644 --- a/sc/source/core/data/global2.cxx +++ b/sc/source/core/data/global2.cxx @@ -327,7 +327,7 @@ OUString ScGlobal::GetAbsDocName( const OUString& rFileName, if ( pMedium ) { bool bWasAbs = true; - aAbsName = pMedium->GetURLObject().smartRel2Abs( rFileName, bWasAbs ).GetMainURL(INetURLObject::DECODE_TO_IURI); + aAbsName = pMedium->GetURLObject().smartRel2Abs( rFileName, bWasAbs ).GetMainURL(INetURLObject::NO_DECODE); } else { // This can't happen, but ... |