[Libreoffice-commits] core.git: cui/source
Stephan Bergmann
sbergman at redhat.com
Tue Sep 15 00:59:38 PDT 2015
cui/source/options/optpath.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 2532dd76b8593b1184970f6520ecc3c9571b0876
Author: Stephan Bergmann <sbergman at 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
More information about the Libreoffice-commits
mailing list