summaryrefslogtreecommitdiff
path: root/sw/source/core/tox/txmsrt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/tox/txmsrt.cxx')
-rw-r--r--sw/source/core/tox/txmsrt.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx
index f626f09afc40..3bdd2871c23c 100644
--- a/sw/source/core/tox/txmsrt.cxx
+++ b/sw/source/core/tox/txmsrt.cxx
@@ -19,7 +19,6 @@
#include <unotools/charclass.hxx>
#include <osl/diagnose.h>
-#include <rtl/uri.hxx>
#include <txtfld.hxx>
#include <doc.hxx>
#include <IDocumentLayoutAccess.hxx>
@@ -204,10 +203,7 @@ std::pair<OUString, bool> SwTOXSortTabBase::GetURL(SwRootFrame const*const pLayo
+ OUStringChar(toxMarkSeparator) + typeName
+ OUStringChar(cMarkSeparator) + "toxmark" );
- OUString const uri(rtl::Uri::encode(decodedUrl, rtl_UriCharClassUricNoSlash,
- rtl_UriEncodeIgnoreEscapes, RTL_TEXTENCODING_UTF8));
-
- return std::make_pair(uri, true);
+ return std::make_pair(decodedUrl, true);
}
bool SwTOXSortTabBase::IsFullPara() const