summaryrefslogtreecommitdiff
path: root/editeng/source/misc/hangulhanja.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc/hangulhanja.cxx')
-rw-r--r--editeng/source/misc/hangulhanja.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index 709b770bec8c..1eac907e55b6 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -620,10 +620,7 @@ namespace editeng
void HangulHanjaConversion_Impl::DoDocumentConversion( )
{
// clear the change-all list - it's to be re-initialized for every single document
- {
- StringMap aEmpty;
- m_aChangeList.swap( aEmpty );
- }
+ StringMap().swap(m_aChangeList);
// first of all, we need to guess the direction of our conversion - it is determined by the first
// hangul or hanja character in the first text