diff options
Diffstat (limited to 'pyuno/source/module/pyuno_util.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_util.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_util.cxx b/pyuno/source/module/pyuno_util.cxx index af22b7a8a8d5..77006c33acac 100644 --- a/pyuno/source/module/pyuno_util.cxx +++ b/pyuno/source/module/pyuno_util.cxx @@ -175,11 +175,10 @@ void logReply( { buf.append( val2str( returnValue.getValue(), returnValue.getValueTypeRef(), VAL2STR_MODE_SHALLOW) ); - for( int i = 0; i < aParams.getLength() ; i ++ ) + for( const auto & p : aParams ) { buf.append( ", " ); - buf.append( - val2str( aParams[i].getValue(), aParams[i].getValueTypeRef(), VAL2STR_MODE_SHALLOW) ); + buf.append( val2str( p.getValue(), p.getValueTypeRef(), VAL2STR_MODE_SHALLOW) ); } } log( cargo,LogLevel::CALL, buf.makeStringAndClear() ); |