From 9f3222789fa6684701b9f2088a7bb3b198274e20 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sun, 13 Sep 2015 12:33:37 +0200 Subject: This was probably the original intent (wrong index in inner loop body) Change-Id: I17bec80168cc56fa5ab47da65e85a90c32c958b3 --- cui/source/options/optpath.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index e7f2a58a1b42..bfc0b73ec2ee 100644 --- a/cui/source/options/optpath.cxx +++ b/cui/source/options/optpath.cxx @@ -429,7 +429,7 @@ IMPL_LINK_NOARG_TYPED(SvxPathTabPage, StandardHdl_Impl, Button*, void) OUString sOnePath = aOldPath.getToken( i, MULTIPATH_DELIMITER ); for ( sal_uInt16 j = 0; !bFound && j < nIntCount; ++j ) { - if ( sInternal.getToken( i, MULTIPATH_DELIMITER ) == sOnePath ) + if ( sInternal.getToken( j, MULTIPATH_DELIMITER ) == sOnePath ) bFound = true; } if ( !bFound ) -- cgit