cppcheck: prefer prefix variant

This commit is contained in:
Caolán McNamara 2010-12-24 13:30:14 +00:00
parent 8d5581f95d
commit 00d244a0fe

View file

@ -806,7 +806,7 @@ JavaVirtualMachine::getJavaVM(css::uno::Sequence< sal_Int8 > const & rProcessId)
rtl::OString sJavaOption("-");
typedef std::vector<rtl::OUString>::const_iterator cit;
int index = 0;
for (cit i = props.begin(); i != props.end(); i++)
for (cit i = props.begin(); i != props.end(); ++i)
{
rtl::OString sOption = rtl::OUStringToOString(
*i, osl_getThreadTextEncoding());