diff options
Diffstat (limited to 'fpicker/source/office/OfficeControlAccess.cxx')
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index e8f4e3929d79..47796ec4e58e 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -509,8 +509,8 @@ namespace svt if ( aTemplateList.hasElements() ) { - for ( long i=0; i < aTemplateList.getLength(); i++ ) - pListbox->append_text( aTemplateList[i] ); + for ( const OUString& s : std::as_const(aTemplateList) ) + pListbox->append_text( s ); } } break; |