diff options
Diffstat (limited to 'svx/source/fmcomp/fmgridif.cxx')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 6b61ab0acd5b..ada679becd45 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -2682,9 +2682,8 @@ Sequence< css::util::URL>& FmXGridPeer::getSupportedURLs() // let an css::util::URL-transformer normalize the URLs Reference< css::util::XURLTransformer > xTransformer( util::URLTransformer::create(::comphelper::getProcessComponentContext()) ); - pSupported = aSupported.getArray(); - for (sal_Int32 i=0; i<aSupported.getLength(); ++i) - xTransformer->parseStrict(pSupported[i]); + for (css::util::URL & rURL : aSupported) + xTransformer->parseStrict(rURL); } return aSupported; |