[Libreoffice-commits] .: editeng/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Jul 12 09:14:06 PDT 2012
editeng/source/misc/SvXMLAutoCorrectExport.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1d2ba733d758cbf7a6878debc8d183960996bde6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jul 12 17:13:35 2012 +0100
throw some const love at SvxAutocorrWordList
Change-Id: I41d59d386b8f1fd5dc1fb9744a649085c66143f9
diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.cxx b/editeng/source/misc/SvXMLAutoCorrectExport.cxx
index 6719b39..2552f2f 100644
--- a/editeng/source/misc/SvXMLAutoCorrectExport.cxx
+++ b/editeng/source/misc/SvXMLAutoCorrectExport.cxx
@@ -61,9 +61,9 @@ sal_uInt32 SvXMLAutoCorrectExport::exportDoc(enum XMLTokenEnum /*eClass*/)
_GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
{
SvXMLElementExport aRoot (*this, XML_NAMESPACE_BLOCKLIST, XML_BLOCK_LIST, sal_True, sal_True);
- for ( SvxAutocorrWordList::iterator it = pAutocorr_List->begin(); it != pAutocorr_List->end(); ++it )
+ for ( SvxAutocorrWordList::const_iterator it = pAutocorr_List->begin(); it != pAutocorr_List->end(); ++it )
{
- SvxAutocorrWord* p = *it;
+ const SvxAutocorrWord* p = *it;
AddAttribute( XML_NAMESPACE_BLOCKLIST,
XML_ABBREVIATED_NAME,
More information about the Libreoffice-commits
mailing list