diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-12 17:13:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-12 17:13:35 +0100 |
commit | 1d2ba733d758cbf7a6878debc8d183960996bde6 (patch) | |
tree | adfbc24c9d84809f6eb0b3a15f014128385bffe6 /editeng | |
parent | get python building under mipsel (diff) | |
download | core-1d2ba733d758cbf7a6878debc8d183960996bde6.tar.gz core-1d2ba733d758cbf7a6878debc8d183960996bde6.zip |
throw some const love at SvxAutocorrWordList
Change-Id: I41d59d386b8f1fd5dc1fb9744a649085c66143f9
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/misc/SvXMLAutoCorrectExport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.cxx b/editeng/source/misc/SvXMLAutoCorrectExport.cxx index 6719b39b292e..2552f2f4805f 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, |