summaryrefslogtreecommitdiff
path: root/linguistic/source/hyphdsp.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-25 21:52:19 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-26 12:24:39 +0200
commite571123891968b60333ef161e68e2d45ccc25a94 (patch)
treeb4a765a777f367f3f5f3b28f8e0574d5ab88f6b4 /linguistic/source/hyphdsp.cxx
parenta79f9a79329fa0cbb385c6f9995ae113fa9b4c55 (diff)
cid#1557746 COPY_INSTEAD_OF_MOVE
and cid#1557751 COPY_INSTEAD_OF_MOVE cid#1557771 COPY_INSTEAD_OF_MOVE cid#1557775 COPY_INSTEAD_OF_MOVE cid#1557786 COPY_INSTEAD_OF_MOVE cid#1557787 COPY_INSTEAD_OF_MOVE cid#1557790 COPY_INSTEAD_OF_MOVE cid#1557793 COPY_INSTEAD_OF_MOVE cid#1557794 COPY_INSTEAD_OF_MOVE Change-Id: I1b02b6eca303b1a08975ea8aae7c9dbefbada47f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171061 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'linguistic/source/hyphdsp.cxx')
-rw-r--r--linguistic/source/hyphdsp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx
index 6113960d4c9e..677fe74f9ff4 100644
--- a/linguistic/source/hyphdsp.cxx
+++ b/linguistic/source/hyphdsp.cxx
@@ -674,7 +674,7 @@ void HyphenatorDispatcher::SetServiceList( const Locale &rLocale,
{
auto pTmpEntry = std::make_shared<LangSvcEntries_Hyph>( rSvcImplNames[0] );
pTmpEntry->aSvcRefs = Sequence< Reference < XHyphenator > >( 1 );
- aSvcMap[ nLanguage ] = pTmpEntry;
+ aSvcMap[ nLanguage ] = std::move(pTmpEntry);
}
}
}