diff options
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r-- | lotuswordpro/inc/xfilter/xfinputlist.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/inc/xfilter/xfinputlist.hxx b/lotuswordpro/inc/xfilter/xfinputlist.hxx index 6e9719f21155..85dae8836e56 100644 --- a/lotuswordpro/inc/xfilter/xfinputlist.hxx +++ b/lotuswordpro/inc/xfilter/xfinputlist.hxx @@ -99,10 +99,10 @@ inline void XFInputList::ToXml(IXFStream *pStrm) pAttrList->AddAttribute( "text:value", " " ); pStrm->StartElement( "text:label" ); pStrm->EndElement( "text:label" ); - for(size_t i=0; i< m_list.size();i++) + for(const OUString& rLabel : m_list) { pAttrList->Clear(); - pAttrList->AddAttribute( "text:value", m_list[i] ); + pAttrList->AddAttribute( "text:value", rLabel); pStrm->StartElement( "text:label" ); pStrm->EndElement( "text:label" ); } |