summaryrefslogtreecommitdiff
path: root/stoc/source/javavm
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/javavm')
-rw-r--r--stoc/source/javavm/javavm.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index a954372b6728..68db4a793265 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -1399,9 +1399,8 @@ void JavaVirtualMachine::setINetSettingsInVM(bool set_reset)
getINetPropsFromConfig( &jvm, m_xContext->getServiceManager(), m_xContext);
const ::std::vector< OUString> & Props = jvm.getProperties();
- for( auto i= Props.cbegin(); i != Props.cend(); ++i)
+ for( auto& prop : Props)
{
- OUString prop= *i;
sal_Int32 index= prop.indexOf( '=');
OUString propName= prop.copy( 0, index);
OUString propValue= prop.copy( index + 1);