summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-03 08:32:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-03 08:32:03 +0100
commit4e1629ff792adeff05e4a0e04f5263a242d167ff (patch)
treee59017da0e4ef3f7fa37c2b034a95bccd46b0fb8 /xmloff
parent323f755ddd1ac0709aae468a6670b1803e70c446 (diff)
additional const_iterator in const method
Change-Id: I8cad958e1b6ba5eec000244a31e1ee98e0b5d123
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/impastp4.cxx4
1 files changed, 2 insertions, 2 deletions
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)