You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/05/28 11:45:12 UTC

svn commit: r1486836 - /openoffice/trunk/main/xmloff/source/style/xmlnumfe.cxx

Author: hdu
Date: Tue May 28 09:45:12 2013
New Revision: 1486836

URL: http://svn.apache.org/r1486836
Log:
#i122208# const XMLOFF containers cannot provide non-const iterators

Modified:
    openoffice/trunk/main/xmloff/source/style/xmlnumfe.cxx

Modified: openoffice/trunk/main/xmloff/source/style/xmlnumfe.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/xmloff/source/style/xmlnumfe.cxx?rev=1486836&r1=1486835&r2=1486836&view=diff
==============================================================================
--- openoffice/trunk/main/xmloff/source/style/xmlnumfe.cxx (original)
+++ openoffice/trunk/main/xmloff/source/style/xmlnumfe.cxx Tue May 28 09:45:12 2013
@@ -156,13 +156,13 @@ void SvXMLNumUsedList_Impl::SetUsed( sal
 
 sal_Bool SvXMLNumUsedList_Impl::IsUsed( sal_uInt32 nKey ) const
 {
-	SvXMLuInt32Set::iterator aItr = aUsed.find(nKey);
+	SvXMLuInt32Set::const_iterator aItr = aUsed.find(nKey);
 	return (aItr != aUsed.end());
 }
 
 sal_Bool SvXMLNumUsedList_Impl::IsWasUsed( sal_uInt32 nKey ) const
 {
-	SvXMLuInt32Set::iterator aItr = aWasUsed.find(nKey);
+	SvXMLuInt32Set::const_iterator aItr = aWasUsed.find(nKey);
 	return (aItr != aWasUsed.end());
 }