summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-06-13 17:53:39 +0200
committerJustin Luth <justin_luth@sil.org>2021-06-18 13:51:17 +0200
commit84eda8cdd76f04badaa07d0ef09d1de95da1518d (patch)
treeba1262a454c3b616c4cb2a0c26002243530f2345 /svl
parent3226b633dfb498dac6cac681de9187c912e4b1df (diff)
Avoid [-Werror=redundant-move] in GCC 9.3.0
Change-Id: I5ef8e094de76673c53b989fd659597b38c3f8d50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117112 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit f7c7e4c63f5479de66d2fbed9db34972a5bd05aa) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117415 Tested-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/itemset.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 3324f69e6122..207d0634a811 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -1478,7 +1478,7 @@ std::unique_ptr<SfxItemSet> SfxAllItemSet::Clone(bool bItems, SfxItemPool *pToPo
std::unique_ptr<SfxAllItemSet> pNewSet(new SfxAllItemSet( *pToPool ));
if ( bItems )
pNewSet->Set( *this );
- return std::move(pNewSet);
+ return pNewSet;
}
else
return std::unique_ptr<SfxItemSet>(bItems ? new SfxAllItemSet(*this) : new SfxAllItemSet(*m_pPool));