summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-01-07 22:26:40 +0100
committerEike Rathke <erack@redhat.com>2015-01-09 16:10:03 +0100
commit19feb49bd1b232425b7be19b55b950cbbc1bff67 (patch)
treeee26bfc82f061fa7d0aae414e5dc3266ee62f3d4
parent8f43132c4d68dd2a1af7a4d1088413c2a0064902 (diff)
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
-rw-r--r--sc/source/core/data/global2.cxx2
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 ...