Author: hdu
Date: Fri May 17 11:06:11 2013
New Revision: 1483737

URL: http://svn.apache.org/r1483737
Log:
#i122208# a const XMLOFF container cannot provide non-const iterators

Modified:
    openoffice/branches/rejuvenate01/main/xmloff/source/style/xmlnumfe.cxx

Modified: openoffice/branches/rejuvenate01/main/xmloff/source/style/xmlnumfe.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/xmloff/source/style/xmlnumfe.cxx?rev=1483737&r1=1483736&r2=1483737&view=diff
==============================================================================
--- openoffice/branches/rejuvenate01/main/xmloff/source/style/xmlnumfe.cxx 
(original)
+++ openoffice/branches/rejuvenate01/main/xmloff/source/style/xmlnumfe.cxx Fri 
May 17 11:06:11 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());
 }
 


Reply via email to