diff options
Diffstat (limited to 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/acorrcfg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx index 3f8df4907ed5..5bd97c67a197 100644 --- a/editeng/source/misc/acorrcfg.cxx +++ b/editeng/source/misc/acorrcfg.cxx @@ -59,8 +59,7 @@ SvxAutoCorrCfg::SvxAutoCorrCfg() : Reference < ucb::XCommandEnvironment > xEnv; ::utl::UCBContentHelper::ensureFolder(comphelper::getProcessComponentContext(), xEnv, sUserPath, aContent); - OUString* pS = &sSharePath; - for( sal_uInt16 n = 0; n < 2; ++n, pS = &sUserPath ) + for( OUString* pS : { &sSharePath, &sUserPath } ) { INetURLObject aPath( *pS ); aPath.insertName("acor"); |