summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2021-08-24 09:06:48 +0200
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2021-08-24 20:51:02 +0200
commita558be2393cf05a4ccf8b4af546207e69669eba2 (patch)
tree7b71f8f319906ce96da0ee311022b3308e1b8a3b /sw/source/uibase/utlui
parent60e81b7ac33272a12e54c3d12dab8960ca8b071e (diff)
tdf#127978 - Don't URL encode filename for navigator's tooltip (D&D)
Change-Id: I3a5d6404755698be81818c4636fcc505992e1a05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120936 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Diffstat (limited to 'sw/source/uibase/utlui')
-rw-r--r--sw/source/uibase/utlui/glbltree.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx
index ab8beedabc41..8ea94f9680f8 100644
--- a/sw/source/uibase/utlui/glbltree.cxx
+++ b/sw/source/uibase/utlui/glbltree.cxx
@@ -522,7 +522,9 @@ void SwGlobalTree::InsertRegion( const SwGlblDocContent* pCont, const OUString*
aFileNames.realloc(1);
INetURLObject aFileName;
aFileName.SetSmartURL( *pFileName );
- aFileNames.getArray()[0] = aFileName.GetMainURL( INetURLObject::DecodeMechanism::NONE );
+ // tdf#127978 - don't URL encode filename for navigator's tooltip
+ aFileNames.getArray()[0]
+ = aFileName.GetMainURL(INetURLObject::DecodeMechanism::Unambiguous);
InsertRegion( pCont, aFileNames );
}
}