From 4e1629ff792adeff05e4a0e04f5263a242d167ff Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 3 Aug 2012 08:32:03 +0100 Subject: additional const_iterator in const method Change-Id: I8cad958e1b6ba5eec000244a31e1ee98e0b5d123 --- xmloff/source/style/impastp4.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/style/impastp4.cxx b/xmloff/source/style/impastp4.cxx index 194c516472ab..61314669cd72 100644 --- a/xmloff/source/style/impastp4.cxx +++ b/xmloff/source/style/impastp4.cxx @@ -300,13 +300,13 @@ void SvXMLAutoStylePoolP_Impl::exportXML( { // Get list of parents for current family (nFamily) XMLFamilyData_Impl aTmp( nFamily ); - XMLFamilyDataList_Impl::iterator aFind = maFamilyList.find(aTmp); + XMLFamilyDataList_Impl::const_iterator aFind = maFamilyList.find(aTmp); DBG_ASSERT( aFind != maFamilyList.end(), "SvXMLAutoStylePool_Impl::exportXML: unknown family" ); if (aFind == maFamilyList.end()) return; - XMLFamilyData_Impl &rFamily = *aFind; + const XMLFamilyData_Impl &rFamily = *aFind; sal_uInt32 nCount = rFamily.mnCount; if (!nCount) -- cgit