diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 286dfc2a720ea8bd6b26c10126202fa25a112e0f (patch) | |
tree | 4b179846f09fa0be53f9cd6e078b7d0b79b92392 /tools/source/fsys | |
parent | 3553a5d3a899954c4db09e264d8faf07e817e564 (diff) |
loplugin: defaultparams
Change-Id: I50ba6a836473961d952ed88e56532501469c5368
Diffstat (limited to 'tools/source/fsys')
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index 2fdb0d018bb7..78aa4fc8cd9a 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -4961,7 +4961,7 @@ OUString INetURLObject::GetFull() const OUString INetURLObject::GetPath() const { INetURLObject aTemp(*this); - aTemp.removeSegment(LAST_SEGMENT, true); + aTemp.removeSegment(LAST_SEGMENT); aTemp.removeFinalSlash(); return aTemp.PathToFileName(); } @@ -4981,7 +4981,7 @@ void INetURLObject::SetName(OUString const & rTheName, rtl_TextEncoding eCharset) { INetURLObject aTemp(*this); - if (aTemp.removeSegment(LAST_SEGMENT, true) + if (aTemp.removeSegment(LAST_SEGMENT) && aTemp.insertName(rTheName, false, LAST_SEGMENT, true, eMechanism, eCharset)) *this = aTemp; |