[Libreoffice-commits] .: xmloff/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Aug 3 00:32:13 PDT 2012


 xmloff/source/style/impastp4.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4e1629ff792adeff05e4a0e04f5263a242d167ff
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Aug 3 08:32:03 2012 +0100

    additional const_iterator in const method
    
    Change-Id: I8cad958e1b6ba5eec000244a31e1ee98e0b5d123

diff --git a/xmloff/source/style/impastp4.cxx b/xmloff/source/style/impastp4.cxx
index 194c516..6131466 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)


More information about the Libreoffice-commits mailing list