summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/impedit4.cxx2
-rw-r--r--editeng/source/misc/hangulhanja.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index b4ba8ea835a0..55737feded2b 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -3114,7 +3114,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
aChgData.nLen = nLen;
aChgData.aSelection = EditSelection( EditPaM( pNode, nCurrentStart ), EditPaM( pNode, nCurrentEnd ) );
aChgData.aNewText = aNewText;
- aChgData.aOffsets = aOffsets;
+ aChgData.aOffsets = std::move(aOffsets);
aChanges.push_back( aChgData );
}
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index 66fd92dc2320..39e3411b6545 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -416,7 +416,7 @@ namespace editeng
nDiff=0;
pTmp[n]=m_aCurrentSuggestions[n-nDiff];
}
- m_aCurrentSuggestions = aTmp;
+ m_aCurrentSuggestions = std::move(aTmp);
}
}
}