diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-07 20:21:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-07 20:21:21 +0200 |
commit | 5ba54aacd5318fbf9b9f0589a090f717c53833c7 (patch) | |
tree | 6028b817c850a5e1e178c0def4d4e61e949409b7 /sw/source/filter/ww8/wrtw8nds.cxx | |
parent | Follow-up to 372f9bce4e28ffcc89f92dc9982ab9a5c4922994, forgot to remove this (diff) | |
download | core-5ba54aacd5318fbf9b9f0589a090f717c53833c7.tar.gz core-5ba54aacd5318fbf9b9f0589a090f717c53833c7.zip |
Remove dead INetProtocol::Vim
...which removes the need to abstract over the standard URI '%' escape prefix
vs. the silly vim '=' special case invention.
Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index f477ff4613e8..340613ac29c8 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -1085,14 +1085,14 @@ bool WW8AttributeOutput::EndURL(bool const) OUString BookmarkToWord(const OUString &rBookmark) { OUString sRet(INetURLObject::encode(rBookmark, - INetURLObject::PART_REL_SEGMENT_EXTRA, '%', + INetURLObject::PART_REL_SEGMENT_EXTRA, INetURLObject::ENCODE_ALL, RTL_TEXTENCODING_ASCII_US)); return TruncateBookmark(sRet); } OUString BookmarkToWriter(const OUString &rBookmark) { - return INetURLObject::decode(rBookmark, '%', + return INetURLObject::decode(rBookmark, INetURLObject::DECODE_UNAMBIGUOUS, RTL_TEXTENCODING_ASCII_US); } |