diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-01 08:48:58 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-01 12:14:45 +0300 |
commit | fe41e4ba11f66d247ca4b09563c3ea21728fa410 (patch) | |
tree | 6d99b24d8bb32e4924cf1889986c17552d629ba6 /sc/source | |
parent | Bin pointless INET_MARK_TOKEN (diff) | |
download | core-fe41e4ba11f66d247ca4b09563c3ea21728fa410.tar.gz core-fe41e4ba11f66d247ca4b09563c3ea21728fa410.zip |
Bin pointless INET_HEX_ESCAPE
Change-Id: I72238e511c2fca4a4aba0be60b0f2d3b1f46e5c2
Diffstat (limited to 'sc/source')
-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 871d9c535414..5d13c4914195 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -839,7 +839,7 @@ struct ConventionOOO_A1 : public Convention_A1 if (bEncodeUrl) aFile = rFileName; else - aFile = INetURLObject::decode(rFileName, INET_HEX_ESCAPE, INetURLObject::DECODE_UNAMBIGUOUS); + aFile = INetURLObject::decode(rFileName, '%', INetURLObject::DECODE_UNAMBIGUOUS); rBuffer.append("'" + aFile.replaceAll("'", "''") + "'#"); @@ -1069,7 +1069,7 @@ struct ConventionXL if (bEncodeUrl) aFullName = rFullName; else - aFullName = INetURLObject::decode(rFullName, INET_HEX_ESCAPE, 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 905f5ea830df..b35783c0e397 100644 --- a/sc/source/ui/view/gridwin5.cxx +++ b/sc/source/ui/view/gridwin5.cxx @@ -371,7 +371,7 @@ void ScGridWindow::RequestHelp(const HelpEvent& rHEvt) OUString aUrl; if ( GetEditUrl( aPosPixel, NULL, &aUrl, NULL ) ) { - aHelpText = INetURLObject::decode( aUrl, INET_HEX_ESCAPE, + 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 d8d482738f3b..cabe51135f86 100644 --- a/sc/source/ui/view/tabvwsh3.cxx +++ b/sc/source/ui/view/tabvwsh3.cxx @@ -247,7 +247,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) if ( nSlot == SID_JUMPTOMARK ) { // URL has to be decoded for escaped characters (%20) - aAddress = INetURLObject::decode( aAddress, INET_HEX_ESCAPE, + aAddress = INetURLObject::decode( aAddress, '%', INetURLObject::DECODE_WITH_CHARSET, RTL_TEXTENCODING_UTF8 ); } |