summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-15 09:58:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-15 09:59:16 +0200
commit2532dd76b8593b1184970f6520ecc3c9571b0876 (patch)
tree6544351565c5525ac26468bea10e0817306e0e5a /cui
parent98236528da98fda429671d8146e4f28c99b0c65a (diff)
loplugin:stringconstant
Change-Id: I52e225a71726629abd788e1a9e720e4b589aeeb5
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optpath.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index a60d36dd46b3..4c5e101501cc 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -586,11 +586,10 @@ IMPL_LINK_NOARG_TYPED(SvxPathTabPage, PathHdl_Impl, Button*, void)
OUString sNewPath = pMultiDlg->GetPath();
if ( !sNewPath.isEmpty() )
{
- const sal_Unicode cDelim = MULTIPATH_DELIMITER;
sal_Int32 nNextPos = 0;
for (;;)
{
- const OUString sToken(sNewPath.getToken( 0, cDelim, nNextPos ));
+ const OUString sToken(sNewPath.getToken( 0, MULTIPATH_DELIMITER, nNextPos ));
if ( nNextPos<0 )
{
// Last token need a different handling