summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-05-30 15:07:11 +0200
committerMichael Stahl <mstahl@redhat.com>2013-05-30 15:07:54 +0200
commitc845557a69c6b8bd7095559717e97409493f5c0e (patch)
tree14315a74d6692176e94276aaec35ca0af6719af8
parent419d3c53943d52e445cf474bc592cab33c61d1c1 (diff)
XclExpComments::SaveXml: MSVC complains about distance() call
Change-Id: I446bf4ab0a80b7d8ed0f7235fa1da8a08b2e88dc
-rw-r--r--sc/source/filter/excel/xeescher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index 5c23ba3dfe7e..77bfcb78bce5 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 );