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 /sc | |
parent | 2a4753b9a36bb136945857c3b882b00ad2b4486d (diff) |
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 'sc')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin5.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh3.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index a82596c0f12d..5512e382ef16 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -861,7 +861,7 @@ struct ConventionOOO_A1 : public Convention_A1 if (bEncodeUrl) aFile = rFileName; else - aFile = INetURLObject::decode(rFileName, '%', INetURLObject::DECODE_UNAMBIGUOUS); + aFile = INetURLObject::decode(rFileName, INetURLObject::DECODE_UNAMBIGUOUS); rBuffer.append("'" + aFile.replaceAll("'", "''") + "'#"); @@ -1096,7 +1096,7 @@ struct ConventionXL if (bEncodeUrl) aFullName = rFullName; else - aFullName = INetURLObject::decode(rFullName, '%', INetURLObject::DECODE_UNAMBIGUOUS); + aFullName = INetURLObject::decode(rFullName, INetURLObject::DECODE_UNAMBIGUOUS); const sal_Unicode* pBuf = aFullName.getStr(); sal_Int32 nLen = aFullName.getLength(); diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx index 249312f94a8d..4640370f06b9 100644 --- a/sc/source/ui/view/gridwin5.cxx +++ b/sc/source/ui/view/gridwin5.cxx @@ -379,7 +379,7 @@ void ScGridWindow::RequestHelp(const HelpEvent& rHEvt) OUString aUrl; if ( GetEditUrl( aPosPixel, NULL, &aUrl, NULL ) ) { - aHelpText = INetURLObject::decode( aUrl, '%', + aHelpText = INetURLObject::decode( aUrl, INetURLObject::DECODE_UNAMBIGUOUS ); if( bCtrlClickHlink ) diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx index bee292715927..f69cabf24b60 100644 --- a/sc/source/ui/view/tabvwsh3.cxx +++ b/sc/source/ui/view/tabvwsh3.cxx @@ -246,7 +246,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) if ( nSlot == SID_JUMPTOMARK ) { // URL has to be decoded for escaped characters (%20) - aAddress = INetURLObject::decode( aAddress, '%', + aAddress = INetURLObject::decode( aAddress, INetURLObject::DECODE_WITH_CHARSET, RTL_TEXTENCODING_UTF8 ); } |