cui/source/options/optpath.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 2532dd76b8593b1184970f6520ecc3c9571b0876 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Sep 15 09:58:54 2015 +0200 loplugin:stringconstant Change-Id: I52e225a71726629abd788e1a9e720e4b589aeeb5 diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index a60d36d..4c5e101 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits