diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2021-08-24 09:06:48 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-08-25 21:39:24 +0200 |
commit | 3dad6c8f570cf539090b4a3cd4fd9f3db2d89b7c (patch) | |
tree | cab778a42732a7ef614f1700357d015907c9c0ff /sw | |
parent | f1afe20decb818b5f8c3a911d569561ad6fe2f7a (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>
(cherry picked from commit a558be2393cf05a4ccf8b4af546207e69669eba2)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120982
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/utlui/glbltree.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx index 59d193807d04..4969f206ac04 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 ); } } |