summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-16 13:17:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-17 06:09:42 +0000
commit8ca50d20c189dda2fcc4477303ef2947c72bb01e (patch)
tree4e68e83104b3822f3b9949f39b2de6a66b67ef97 /scripting
parenta976a19ca82661d8b459b85f5514b0e4c9222d47 (diff)
loplugin:constantparam in tools
Change-Id: I3774661799c074561c694515baba42a375d0a077 Reviewed-on: https://gerrit.libreoffice.org/23301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/stringresource/stringresource.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index bc777e3a4a50..e4a86f38cbee 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -1801,7 +1801,7 @@ OUString StringResourcePersistenceImpl::implGetPathForLocaleItem
{
OUString aFileName = implGetFileNameForLocaleItem( pLocaleItem, aNameBase );
INetURLObject aInetObj( aLocation );
- aInetObj.insertName( aFileName, true, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
+ aInetObj.insertName( aFileName, true, INetURLObject::LAST_SEGMENT, INetURLObject::ENCODE_ALL );
if( bDefaultFile )
aInetObj.setExtension( "default" );
else