[Libreoffice-commits] core.git: cui/source
Julien Nabet
serval2412 at yahoo.fr
Mon Aug 26 22:31:42 PDT 2013
cui/source/dialogs/hangulhanjadlg.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit ed5dc65079c27d6db8f9cb4b0bf4a907ecf041af
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue Aug 27 07:31:11 2013 +0200
Bin intermediate iterator
Change-Id: I377e226820f5e4626d4341b216ff75f755dded5b
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 28bcd89..39bcbf7 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -1086,9 +1086,8 @@ namespace svx
xNameCont->removeByName( xDic->getName() );
//adapt local caches:
- HHDictList::iterator aIter(m_aDictList.begin());
- m_aDictList.erase(aIter+nSelPos );
- m_aDictsLB.RemoveEntry( nSelPos );
+ m_aDictList.erase(m_aDictList.begin()+nSelPos );
+ m_aDictsLB.RemoveEntry(nSelPos);
}
catch( const ElementExistException& )
{
More information about the Libreoffice-commits
mailing list