summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-08 10:11:33 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-08 15:58:35 +0100
commitdcfec9756c17689791b8dbc3495146ff6cc1fbb4 (patch)
treeed24d974343ce1589d731accd74b7f3ea3ddc217 /editeng
parented0b12f4eadf1f2242f06cbd56804f75376274b1 (diff)
cid#1555255 COPY_INSTEAD_OF_MOVE
and cid#1556766 COPY_INSTEAD_OF_MOVE Change-Id: Ie11d0279ec775034ee8e5a14b0e57eaed110fda6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176265 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index d23bebd26830..06c8f0b66228 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -2980,7 +2980,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 );
}
#if OSL_DEBUG_LEVEL > 1