[Libreoffice-commits] core.git: sc/source
Michael Stahl
mstahl at redhat.com
Thu May 30 06:10:09 PDT 2013
sc/source/filter/excel/xeescher.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c845557a69c6b8bd7095559717e97409493f5c0e
Author: Michael Stahl <mstahl at redhat.com>
Date: Thu May 30 15:07:11 2013 +0200
XclExpComments::SaveXml: MSVC complains about distance() call
Change-Id: I446bf4ab0a80b7d8ed0f7235fa1da8a08b2e88dc
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index 5c23ba3..77bfcb7 100644
--- a/sc/source/filter/excel/xeescher.cxx
+++ b/sc/source/filter/excel/xeescher.cxx
@@ -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 );
More information about the Libreoffice-commits
mailing list