summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-27 06:42:16 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-12-27 07:01:52 +0100
commit808b0bf831d4a4fdb60c01865d0a7dd36cf9d521 (patch)
treec680f97466ef43d46860be5c62fe0b310b22a4c1
parent88ae2a436ec79dd152f9e81edea00e402438cc1f (diff)
NO_DECODE breaks non-ascii urls, fdo#85617
Change-Id: Ic76346d20dc7fdbb5d77ba08d87f0d6c6e7b3c88
-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 93da6d3d533a..5fd14cc47f16 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::NO_DECODE);
+ aAbsName = pMedium->GetURLObject().smartRel2Abs( rFileName, bWasAbs ).GetMainURL(INetURLObject::DECODE_TO_IURI);
}
else
{ // This can't happen, but ...