summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-09-13 12:33:37 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-09-14 22:40:28 +0200
commit9f3222789fa6684701b9f2088a7bb3b198274e20 (patch)
treea6515812c1a1c483c5771dd50d5e4c852f703c69 /cui
parent83dd91fb20b7fb28f3f4e3e28789b34534bcd4be (diff)
This was probably the original intent (wrong index in inner loop body)
Change-Id: I17bec80168cc56fa5ab47da65e85a90c32c958b3
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optpath.cxx2
1 files changed, 1 insertions, 1 deletions
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 )