diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:46:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:46:49 +0200 |
commit | 173a75bad357c65f4e77dc1688445276bdaeaf9c (patch) | |
tree | 4a1a90b58129fed91b79f759a08df4187fc06d29 /svtools/source/misc/templatefoldercache.cxx | |
parent | 9604199a9d6e193a0fbeaa28ae1631216ad473db (diff) |
loplugin:defaultparams
Change-Id: I1925768a2ac3fbb83fc52ef742bf1fcfe02173b5
Diffstat (limited to 'svtools/source/misc/templatefoldercache.cxx')
-rw-r--r-- | svtools/source/misc/templatefoldercache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx index 98e6160404ba..a547dc144098 100644 --- a/svtools/source/misc/templatefoldercache.cxx +++ b/svtools/source/misc/templatefoldercache.cxx @@ -563,12 +563,12 @@ namespace svt { INetURLObject aParser; aParser.SetSmartProtocol( INetProtocol::File ); - aParser.SetURL( _rPath, INetURLObject::WAS_ENCODED ); + aParser.SetURL( _rPath ); if ( INetProtocol::NotValid == aParser.GetProtocol() ) { OUString sURL; osl::FileBase::getFileURLFromSystemPath( _rPath, sURL ); - aParser.SetURL( sURL, INetURLObject::WAS_ENCODED ); + aParser.SetURL( sURL ); } return aParser.GetMainURL( INetURLObject::DECODE_TO_IURI ); } |