From 2532dd76b8593b1184970f6520ecc3c9571b0876 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 15 Sep 2015 09:58:54 +0200 Subject: loplugin:stringconstant Change-Id: I52e225a71726629abd788e1a9e720e4b589aeeb5 --- cui/source/options/optpath.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cui') 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 -- cgit