Kaydet (Commit) c845557a authored tarafından Michael Stahl's avatar Michael Stahl

XclExpComments::SaveXml: MSVC complains about distance() call

Change-Id: I446bf4ab0a80b7d8ed0f7235fa1da8a08b2e88dc
üst 419d3c53
......@@ -1516,7 +1516,7 @@ void XclExpComments::SaveXml( XclExpXmlStream& rStrm )
for( size_t i = 0; i < nNotes; ++i )
{
XclExpNoteList::RecordRefType xNote = mrNotes.GetRecord( i );
Authors::iterator aAuthor = aAuthors.find(
Authors::const_iterator aAuthor = aAuthors.find(
XclXmlUtils::ToOUString( xNote->GetAuthor() ) );
sal_Int32 nAuthorId = distance( aAuthorsBegin, aAuthor );
xNote->WriteXml( nAuthorId, rStrm );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment