chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx    |    2 -
 chart2/source/tools/TitleHelper.cxx                            |    2 -
 chart2/source/view/axes/Tickmarks_Equidistant.cxx              |    2 -
 comphelper/source/container/IndexedPropertyValuesContainer.cxx |    2 -
 comphelper/source/container/NamedPropertyValuesContainer.cxx   |    3 -
 comphelper/source/misc/mimeconfighelper.cxx                    |    4 +-
 comphelper/source/property/propertycontainerhelper.cxx         |    2 -
 cppuhelper/source/factory.cxx                                  |    2 -
 cui/source/options/optlingu.cxx                                |    2 -
 dbaccess/source/core/dataaccess/documentevents.cxx             |    2 -
 desktop/source/deployment/registry/package/dp_package.cxx      |    2 -
 editeng/source/editeng/impedit4.cxx                            |    2 -
 editeng/source/misc/hangulhanja.cxx                            |    2 -
 extensions/source/propctrlr/stringrepresentation.cxx           |    2 -
 forms/source/component/Columns.cxx                             |    2 -
 forms/source/component/entrylisthelper.cxx                     |    2 -
 framework/source/fwi/uielement/itemcontainer.cxx               |    2 -
 framework/source/fwi/uielement/rootitemcontainer.cxx           |    2 -
 framework/source/helper/oframes.cxx                            |    2 -
 framework/source/uielement/complextoolbarcontroller.cxx        |    4 +-
 framework/source/uielement/toolbarmanager.cxx                  |    2 -
 framework/source/uifactory/uielementfactorymanager.cxx         |    2 -
 i18npool/source/transliteration/transliterationImpl.cxx        |    4 +-
 linguistic/source/lngsvcmgr.cxx                                |    4 +-
 oox/source/drawingml/shape.cxx                                 |    4 +-
 package/source/xstor/owriteablestream.cxx                      |    4 +-
 package/source/xstor/xstorage.cxx                              |    4 +-
 package/source/zippackage/ZipPackage.cxx                       |    2 -
 package/source/zippackage/ZipPackageStream.cxx                 |    6 +--
 sc/source/core/tool/rangeseq.cxx                               |   16 
+++++-----
 sc/source/ui/Accessibility/AccessibleCell.cxx                  |    2 -
 sc/source/ui/miscdlgs/solveroptions.cxx                        |    2 -
 sc/source/ui/unoobj/cellsuno.cxx                               |    4 +-
 sc/source/ui/unoobj/fmtuno.cxx                                 |    2 -
 sc/source/ui/vba/vbaeventshelper.cxx                           |    2 -
 scripting/source/provider/MasterScriptProvider.cxx             |    2 -
 sd/source/ui/unoidl/unomodel.cxx                               |    2 -
 sfx2/source/appl/appuno.cxx                                    |    2 -
 sfx2/source/control/recentdocsviewitem.cxx                     |    2 -
 sfx2/source/dialog/filedlghelper.cxx                           |    2 -
 sfx2/source/doc/guisaveas.cxx                                  |    2 -
 sfx2/source/doc/sfxbasemodel.cxx                               |    6 +--
 stoc/source/security/file_policy.cxx                           |    4 +-
 svl/source/passwordcontainer/syscreds.cxx                      |    2 -
 svtools/source/uno/wizard/unowizard.cxx                        |    2 -
 svx/source/form/formcontroller.cxx                             |    4 +-
 svx/source/items/zoomslideritem.cxx                            |    2 -
 svx/source/smarttags/SmartTagMgr.cxx                           |    4 +-
 sw/source/core/txtnode/txtedt.cxx                              |    2 -
 sw/source/core/unocore/unochart.cxx                            |    2 -
 sw/source/core/unocore/unosect.cxx                             |    2 -
 sw/source/core/unocore/unotext.cxx                             |    2 -
 sw/source/filter/ww8/ww8par2.cxx                               |    2 -
 sw/source/filter/ww8/ww8par2.hxx                               |    2 -
 sw/source/ui/dbui/mmaddressblockpage.cxx                       |    2 -
 sw/source/ui/index/cntex.cxx                                   |    2 -
 sw/source/uibase/uno/unomailmerge.cxx                          |    2 -
 toolkit/source/controls/stdtabcontroller.cxx                   |    2 -
 toolkit/source/controls/stdtabcontrollermodel.cxx              |    2 -
 ucb/source/sorter/sortdynres.cxx                               |    2 -
 ucb/source/ucp/hierarchy/hierarchycontent.cxx                  |    4 +-
 ucb/source/ucp/package/pkgcontent.cxx                          |    4 +-
 ucb/source/ucp/tdoc/tdoc_content.cxx                           |    2 -
 ucb/source/ucp/webdav-curl/webdavcontent.cxx                   |    4 +-
 ucbhelper/source/client/content.cxx                            |    2 -
 unotools/source/config/configitem.cxx                          |    2 -
 unotools/source/config/lingucfg.cxx                            |    4 +-
 vcl/source/gdi/print3.cxx                                      |    2 -
 vcl/unx/generic/dtrans/X11_selection.cxx                       |    6 +--
 vcl/unx/gtk3/a11y/atktextattributes.cxx                        |    2 -
 xmloff/source/chart/SchXMLExport.cxx                           |    2 -
 xmlscript/source/xmllib_imexp/xmllib_import.cxx                |    2 -
 72 files changed, 100 insertions(+), 101 deletions(-)

New commits:
commit 92f5913aef0668f1de5a20631128c84ad932fd99
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Nov 5 20:04:17 2024 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Nov 6 13:58:54 2024 +0100

    cid#1556442 COPY_INSTEAD_OF_MOVE
    
    and
    
    cid#1607753 COPY_INSTEAD_OF_MOVE
    cid#1554790 COPY_INSTEAD_OF_MOVE
    cid#1556463 COPY_INSTEAD_OF_MOVE
    cid#1554838 COPY_INSTEAD_OF_MOVE
    cid#1556231 COPY_INSTEAD_OF_MOVE
    cid#1556878 COPY_INSTEAD_OF_MOVE
    cid#1554913 COPY_INSTEAD_OF_MOVE
    cid#1558064 COPY_INSTEAD_OF_MOVE
    cid#1557043 COPY_INSTEAD_OF_MOVE
    cid#1556985 COPY_INSTEAD_OF_MOVE
    cid#1556766 COPY_INSTEAD_OF_MOVE
    cid#1557351 COPY_INSTEAD_OF_MOVE
    cid#1554863 COPY_INSTEAD_OF_MOVE
    cid#1556764 COPY_INSTEAD_OF_MOVE
    cid#1556279 COPY_INSTEAD_OF_MOVE
    cid#1555970 COPY_INSTEAD_OF_MOVE
    cid#1556942 COPY_INSTEAD_OF_MOVE
    cid#1557964 COPY_INSTEAD_OF_MOVE
    cid#1555166 COPY_INSTEAD_OF_MOVE
    cid#1556496 COPY_INSTEAD_OF_MOVE
    cid#1557175 COPY_INSTEAD_OF_MOVE
    cid#1558054 COPY_INSTEAD_OF_MOVE
    cid#1557392 COPY_INSTEAD_OF_MOVE
    cid#1557850 COPY_INSTEAD_OF_MOVE
    cid#1555118 COPY_INSTEAD_OF_MOVE
    cid#1557131 COPY_INSTEAD_OF_MOVE
    cid#1556614 COPY_INSTEAD_OF_MOVE
    cid#1609650 COPY_INSTEAD_OF_MOVE
    cid#1555114 COPY_INSTEAD_OF_MOVE
    cid#1555241 COPY_INSTEAD_OF_MOVE
    cid#1555442 COPY_INSTEAD_OF_MOVE
    cid#1556473 COPY_INSTEAD_OF_MOVE
    cid#1557654 COPY_INSTEAD_OF_MOVE
    cid#1554689 COPY_INSTEAD_OF_MOVE
    cid#1556316 COPY_INSTEAD_OF_MOVE
    cid#1557929 COPY_INSTEAD_OF_MOVE
    cid#1554807 COPY_INSTEAD_OF_MOVE
    cid#1554858 COPY_INSTEAD_OF_MOVE
    cid#1555103 COPY_INSTEAD_OF_MOVE
    cid#1555517 COPY_INSTEAD_OF_MOVE
    cid#1556424 COPY_INSTEAD_OF_MOVE
    cid#1557252 COPY_INSTEAD_OF_MOVE
    cid#1557566 COPY_INSTEAD_OF_MOVE
    cid#1608020 COPY_INSTEAD_OF_MOVE
    cid#1557742 COPY_INSTEAD_OF_MOVE
    cid#1555884 COPY_INSTEAD_OF_MOVE
    cid#1554809 COPY_INSTEAD_OF_MOVE
    cid#1555336 COPY_INSTEAD_OF_MOVE
    cid#1555173 COPY_INSTEAD_OF_MOVE
    cid#1556067 COPY_INSTEAD_OF_MOVE
    cid#1557040 COPY_INSTEAD_OF_MOVE
    cid#1556235 COPY_INSTEAD_OF_MOVE
    cid#1557366 COPY_INSTEAD_OF_MOVE
    cid#1555910 COPY_INSTEAD_OF_MOVE
    cid#1556716 COPY_INSTEAD_OF_MOVE
    cid#1558022 COPY_INSTEAD_OF_MOVE
    cid#1555769 COPY_INSTEAD_OF_MOVE
    cid#1555940 COPY_INSTEAD_OF_MOVE
    cid#1557077 COPY_INSTEAD_OF_MOVE
    cid#1555270 COPY_INSTEAD_OF_MOVE
    cid#1555660 COPY_INSTEAD_OF_MOVE
    cid#1556302 COPY_INSTEAD_OF_MOVE
    cid#1555678 COPY_INSTEAD_OF_MOVE
    cid#1556538 COPY_INSTEAD_OF_MOVE
    cid#1557689 COPY_INSTEAD_OF_MOVE
    cid#1555009 COPY_INSTEAD_OF_MOVE
    cid#1555433 COPY_INSTEAD_OF_MOVE
    cid#1555671 COPY_INSTEAD_OF_MOVE
    cid#1555255 COPY_INSTEAD_OF_MOVE
    cid#1557681 COPY_INSTEAD_OF_MOVE
    cid#1557512 COPY_INSTEAD_OF_MOVE
    cid#1554958 COPY_INSTEAD_OF_MOVE
    cid#1555758 COPY_INSTEAD_OF_MOVE
    cid#1555597 COPY_INSTEAD_OF_MOVE
    cid#1558040 COPY_INSTEAD_OF_MOVE
    cid#1556476 COPY_INSTEAD_OF_MOVE
    cid#1557646 COPY_INSTEAD_OF_MOVE
    cid#1557950 COPY_INSTEAD_OF_MOVE
    cid#1557019 COPY_INSTEAD_OF_MOVE
    cid#1557885 COPY_INSTEAD_OF_MOVE
    cid#1556402 COPY_INSTEAD_OF_MOVE
    cid#1557906 COPY_INSTEAD_OF_MOVE
    cid#1556619 COPY_INSTEAD_OF_MOVE
    cid#1554683 COPY_INSTEAD_OF_MOVE
    cid#1556549 COPY_INSTEAD_OF_MOVE
    cid#1554747 COPY_INSTEAD_OF_MOVE
    cid#1554929 COPY_INSTEAD_OF_MOVE
    cid#1555362 COPY_INSTEAD_OF_MOVE
    cid#1557053 COPY_INSTEAD_OF_MOVE
    cid#1557891 COPY_INSTEAD_OF_MOVE
    cid#1555043 COPY_INSTEAD_OF_MOVE
    cid#1555107 COPY_INSTEAD_OF_MOVE
    cid#1557203 COPY_INSTEAD_OF_MOVE
    cid#1556728 COPY_INSTEAD_OF_MOVE
    cid#1557773 COPY_INSTEAD_OF_MOVE
    cid#1556845 COPY_INSTEAD_OF_MOVE
    
    Change-Id: I001fb67e597b096e992fd8a0cd6f3ec577767c33
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176098
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins

diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx 
b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
index 12b7e1b11c7b..29618ddbfaf6 100644
--- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
@@ -1655,7 +1655,7 @@ Any 
WrappedAttributedDataPointsProperty::getPropertyValue( const Reference< bean
                 
series->getFastPropertyValue(PROP_DATASERIES_ATTRIBUTED_DATA_POINTS)); // 
"AttributedDataPoints"
             uno::Sequence< sal_Int32 > aSeq;
             if( aVal >>= aSeq )
-                aResultRange[ i ] = aSeq;
+                aResultRange[ i ] = std::move(aSeq);
             ++i;
         }
         m_aOuterValue <<= aResult;
diff --git a/chart2/source/tools/TitleHelper.cxx 
b/chart2/source/tools/TitleHelper.cxx
index 3cbfe810e1b1..56d6fcbf44c1 100644
--- a/chart2/source/tools/TitleHelper.cxx
+++ b/chart2/source/tools/TitleHelper.cxx
@@ -376,7 +376,7 @@ void TitleHelper::setCompleteString( const OUString& 
rNewText
             // If the new title setted from a dialog window to a new string
             // the first old text portion will be maintained if it's a new 
string,
             // otherwise we use the original one.
-            aNewStringList = aOldStringList;
+            aNewStringList = std::move(aOldStringList);
         }
         else
         {
diff --git a/chart2/source/view/axes/Tickmarks_Equidistant.cxx 
b/chart2/source/view/axes/Tickmarks_Equidistant.cxx
index b55af39ca8bf..663d45819842 100644
--- a/chart2/source/view/axes/Tickmarks_Equidistant.cxx
+++ b/chart2/source/view/axes/Tickmarks_Equidistant.cxx
@@ -171,7 +171,7 @@ void EquidistantTickFactory::addSubTicks( sal_Int32 nDepth, 
uno::Sequence< uno::
     }
 
     aSubTicks.realloc(nRealSubTickCount);
-    rParentTicks.getArray()[nDepth] = aSubTicks;
+    rParentTicks.getArray()[nDepth] = std::move(aSubTicks);
     if(static_cast<sal_Int32>(m_rIncrement.SubIncrements.size())>nDepth)
         addSubTicks( nDepth+1, rParentTicks );
 }
diff --git a/comphelper/source/container/IndexedPropertyValuesContainer.cxx 
b/comphelper/source/container/IndexedPropertyValuesContainer.cxx
index 9642b5098aa9..29f80d588da1 100644
--- a/comphelper/source/container/IndexedPropertyValuesContainer.cxx
+++ b/comphelper/source/container/IndexedPropertyValuesContainer.cxx
@@ -69,7 +69,7 @@ void SAL_CALL IndexedPropertyValuesContainer::replaceByIndex( 
sal_Int32 nIndex,
     uno::Sequence<beans::PropertyValue> aProps;
     if (!(aElement >>= aProps))
         throw lang::IllegalArgumentException(u"element is not 
beans::PropertyValue"_ustr, static_cast<cppu::OWeakObject*>(this), 2);
-    maProperties[nIndex] = aProps;
+    maProperties[nIndex] = std::move(aProps);
 }
 
 // XIndexAccess
diff --git a/comphelper/source/container/NamedPropertyValuesContainer.cxx 
b/comphelper/source/container/NamedPropertyValuesContainer.cxx
index 510931cf57dd..9759c2bce706 100644
--- a/comphelper/source/container/NamedPropertyValuesContainer.cxx
+++ b/comphelper/source/container/NamedPropertyValuesContainer.cxx
@@ -102,8 +102,7 @@ void SAL_CALL NamedPropertyValuesContainer::replaceByName( 
const OUString& aName
     uno::Sequence<beans::PropertyValue> aProps;
     if( !(aElement >>= aProps) )
         throw lang::IllegalArgumentException(u"element is not 
beans::PropertyValue"_ustr, static_cast<cppu::OWeakObject*>(this), 2);
-
-    (*aIter).second = aProps;
+    (*aIter).second = std::move(aProps);
 }
 
 // XNameAccess
diff --git a/comphelper/source/misc/mimeconfighelper.cxx 
b/comphelper/source/misc/mimeconfighelper.cxx
index b648b987cbb7..0cdacb41554f 100644
--- a/comphelper/source/misc/mimeconfighelper.cxx
+++ b/comphelper/source/misc/mimeconfighelper.cxx
@@ -862,11 +862,11 @@ uno::Sequence< beans::PropertyValue > 
MimeConfigurationHelper::SearchForFilter(
                 {
                     if ( ( nFlags & SfxFilterFlags::DEFAULT ) == 
SfxFilterFlags::DEFAULT )
                     {
-                        aFilterProps = aProps;
+                        aFilterProps = std::move(aProps);
                         break;
                     }
                     else if ( !aFilterProps.hasElements() )
-                        aFilterProps = aProps;
+                        aFilterProps = std::move(aProps);
                 }
             }
         }
diff --git a/comphelper/source/property/propertycontainerhelper.cxx 
b/comphelper/source/property/propertycontainerhelper.cxx
index 1ce9ad4ea8c5..1085e49c5003 100644
--- a/comphelper/source/property/propertycontainerhelper.cxx
+++ b/comphelper/source/property/propertycontainerhelper.cxx
@@ -484,7 +484,7 @@ void OPropertyContainerHelper::describeProperties(Sequence< 
Property >& _rProps)
               );
 
     // copy the output
-    _rProps = aOutput;
+    _rProps = std::move(aOutput);
 }
 
 
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index b4a9d06c4d9e..756fd46c5ddc 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -671,7 +671,7 @@ Sequence< OUString > 
ORegistryFactoryHelper::getSupportedServiceNames()
                 for( OUString & key : asNonConstRange(seqKeys) )
                     key = key.copy(nPrefixLen);
 
-                aServiceNames = seqKeys;
+                aServiceNames = std::move(seqKeys);
             }
         }
         catch (InvalidRegistryException &)
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index d3b4c59d8d23..bd5f59c8f741 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1726,7 +1726,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const 
SvxLanguageBox* pBox)
         if(bChanged)
         {
             aChange.realloc(nStart);
-            rLinguData.GetThesTable()[ nLang ] = aChange;
+            rLinguData.GetThesTable()[ nLang ] = std::move(aChange);
         }
     }
 
diff --git a/dbaccess/source/core/dataaccess/documentevents.cxx 
b/dbaccess/source/core/dataaccess/documentevents.cxx
index 35d54727e31b..66c312417ecb 100644
--- a/dbaccess/source/core/dataaccess/documentevents.cxx
+++ b/dbaccess/source/core/dataaccess/documentevents.cxx
@@ -142,7 +142,7 @@ namespace dbaccess
                 aEventDescriptor.realloc( 0 );
         }
 
-        elementPos->second = aEventDescriptor;
+        elementPos->second = std::move(aEventDescriptor);
     }
 
     Any SAL_CALL DocumentEvents::getByName( const OUString& Name )
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx 
b/desktop/source/deployment/registry/package/dp_package.cxx
index 7b858ca42b13..21b2fba25452 100644
--- a/desktop/source/deployment/registry/package/dp_package.cxx
+++ b/desktop/source/deployment/registry/package/dp_package.cxx
@@ -1260,7 +1260,7 @@ Sequence< Reference<deployment::XPackage> > 
BackendImpl::PackageImpl::getBundle(
         const ::osl::MutexGuard guard( m_aMutex );
         pBundle = m_pBundle;
         if (pBundle == nullptr) {
-            m_bundle = ret;
+            m_bundle = std::move(ret);
             pBundle = &m_bundle;
             OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
             m_pBundle = pBundle;
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);
                 }
             }
         }
diff --git a/extensions/source/propctrlr/stringrepresentation.cxx 
b/extensions/source/propctrlr/stringrepresentation.cxx
index 9a4d21eb95dc..198d867d5739 100644
--- a/extensions/source/propctrlr/stringrepresentation.cxx
+++ b/extensions/source/propctrlr/stringrepresentation.cxx
@@ -259,7 +259,7 @@ void SAL_CALL StringRepresentation::initialize(const 
uno::Sequence< uno::Any > &
         cs(m_xTypeDescription->getConstants());
     auto [begin, end] = asNonConstRange(cs);
     std::sort(begin, end, CompareConstants());
-    m_aConstants = cs;
+    m_aConstants = std::move(cs);
 }
 
 OUString StringRepresentation::convertSimpleToString( const uno::Any& _rValue )
diff --git a/forms/source/component/Columns.cxx 
b/forms/source/component/Columns.cxx
index f628f30891e1..f6fa631003a9 100644
--- a/forms/source/component/Columns.cxx
+++ b/forms/source/component/Columns.cxx
@@ -334,7 +334,7 @@ void OGridColumn::clearAggregateProperties( Sequence< 
Property >& _rProps, bool
     }
 
     aNewProps.realloc( pNewProps - aNewProps.getArray() );
-    _rProps = aNewProps;
+    _rProps = std::move(aNewProps);
 }
 
 
diff --git a/forms/source/component/entrylisthelper.cxx 
b/forms/source/component/entrylisthelper.cxx
index 0f781076328c..1ec63819f7b3 100644
--- a/forms/source/component/entrylisthelper.cxx
+++ b/forms/source/component/entrylisthelper.cxx
@@ -155,7 +155,7 @@ namespace frm
             {
                 aTmpRange[i] = m_aTypedItems[j];
             }
-            m_aTypedItems = aTmp;
+            m_aTypedItems = std::move(aTmp);
         }
         else if (m_aTypedItems.hasElements())
         {
diff --git a/framework/source/fwi/uielement/itemcontainer.cxx 
b/framework/source/fwi/uielement/itemcontainer.cxx
index 22bd077fced3..ec70eaad3ae2 100644
--- a/framework/source/fwi/uielement/itemcontainer.cxx
+++ b/framework/source/fwi/uielement/itemcontainer.cxx
@@ -198,7 +198,7 @@ void SAL_CALL ItemContainer::replaceByIndex( sal_Int32 
Index, const Any& aItem )
     if ( sal_Int32( m_aItemVector.size()) <= Index )
         throw IndexOutOfBoundsException( OUString(), static_cast<OWeakObject 
*>(this) );
 
-    m_aItemVector[Index] = aSeq;
+    m_aItemVector[Index] = std::move(aSeq);
 }
 
 } // namespace framework
diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx 
b/framework/source/fwi/uielement/rootitemcontainer.cxx
index c153d71c716d..6eb7fd900c15 100644
--- a/framework/source/fwi/uielement/rootitemcontainer.cxx
+++ b/framework/source/fwi/uielement/rootitemcontainer.cxx
@@ -200,7 +200,7 @@ void SAL_CALL RootItemContainer::replaceByIndex( sal_Int32 
Index, const Any& aIt
     if ( sal_Int32( m_aItemVector.size()) <= Index )
         throw IndexOutOfBoundsException( OUString(), static_cast<OWeakObject 
*>(this) );
 
-    m_aItemVector[Index] = aSeq;
+    m_aItemVector[Index] = std::move(aSeq);
 }
 
 Reference< XInterface > SAL_CALL RootItemContainer::createInstanceWithContext( 
const Reference< XComponentContext >& )
diff --git a/framework/source/helper/oframes.cxx 
b/framework/source/helper/oframes.cxx
index 64dde3a98381..19db87dce79a 100644
--- a/framework/source/helper/oframes.cxx
+++ b/framework/source/helper/oframes.cxx
@@ -322,7 +322,7 @@ void OFrames::impl_appendSequence(          Sequence< 
css::uno::Reference< XFram
 
     // Return result of this operation.
     seqDestination.realloc( 0 );
-    seqDestination = seqResult;
+    seqDestination = std::move(seqResult);
 }
 
 //  debug methods
diff --git a/framework/source/uielement/complextoolbarcontroller.cxx 
b/framework/source/uielement/complextoolbarcontroller.cxx
index f3a00b305701..64611303d1c0 100644
--- a/framework/source/uielement/complextoolbarcontroller.cxx
+++ b/framework/source/uielement/complextoolbarcontroller.cxx
@@ -112,7 +112,7 @@ void SAL_CALL ComplexToolbarController::execute( sal_Int16 
KeyModifier )
         ExecuteInfo* pExecuteInfo = new ExecuteInfo;
         pExecuteInfo->xDispatch     = std::move(xDispatch);
         pExecuteInfo->aTargetURL    = std::move(aTargetURL);
-        pExecuteInfo->aArgs         = aArgs;
+        pExecuteInfo->aArgs         = std::move(aArgs);
         Application::PostUserEvent( LINK(nullptr, ComplexToolbarController , 
ExecuteHdl_Impl), pExecuteInfo );
     }
 }
@@ -264,7 +264,7 @@ void ComplexToolbarController::addNotifyInfo(
     auto pInfoSeq = aInfoSeq.getArray();
     pInfoSeq[nCount].Name  = "Source";
     pInfoSeq[nCount].Value <<= getFrameInterface();
-    pNotifyInfo->aInfoSeq  = aInfoSeq;
+    pNotifyInfo->aInfoSeq  = std::move(aInfoSeq);
 
     Application::PostUserEvent( LINK(nullptr, ComplexToolbarController, 
Notify_Impl), pNotifyInfo );
 }
diff --git a/framework/source/uielement/toolbarmanager.cxx 
b/framework/source/uielement/toolbarmanager.cxx
index 609315aeceb0..0cab884b4017 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -1399,7 +1399,7 @@ void ToolBarManager::FillToolbarFromContainer( const 
Reference< XIndexAccess >&
                 {
                     auto aProperties = 
vcl::CommandInfoProvider::GetCommandProperties(aCommandURL, 
m_aModuleIdentifier);
                     if (!aProperties.hasElements()) // E.g., user-provided 
macro command?
-                        aProperties = aProps; // Use existing info, including 
user-provided Label
+                        aProperties = std::move(aProps); // Use existing info, 
including user-provided Label
 
                     ToolBoxItemBits nItemBits = ConvertStyleToToolboxItemBits( 
nStyle );
 
diff --git a/framework/source/uifactory/uielementfactorymanager.cxx 
b/framework/source/uifactory/uielementfactorymanager.cxx
index b7910fb9ee78..bff442dda8f4 100644
--- a/framework/source/uifactory/uielementfactorymanager.cxx
+++ b/framework/source/uifactory/uielementfactorymanager.cxx
@@ -182,7 +182,7 @@ Sequence< Sequence< PropertyValue > > 
ConfigurationAccess_FactoryManager::getFac
                 }
             }
 
-            aSeqSeq.getArray()[nIndex++] = aSeq;
+            aSeqSeq.getArray()[nIndex++] = std::move(aSeq);
         }
     }
 
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx 
b/i18npool/source/transliteration/transliterationImpl.cxx
index 6224fa014d5b..7caa334eeaa2 100644
--- a/i18npool/source/transliteration/transliterationImpl.cxx
+++ b/i18npool/source/transliteration/transliterationImpl.cxx
@@ -354,7 +354,7 @@ TransliterationImpl::transliterate( const OUString& inStr, 
sal_Int32 startPos, s
             for (sal_Int32& ix : asNonConstRange(to))
                 ix = from[ix];
         }
-        offset = to;
+        offset = std::move(to);
         return tmpStr;
     }
 }
@@ -405,7 +405,7 @@ TransliterationImpl::folding( const OUString& inStr, 
sal_Int32 startPos, sal_Int
             for (sal_Int32& ix : asNonConstRange(to))
                 ix = from[ix];
         }
-        offset = to;
+        offset = std::move(to);
         return tmpStr;
     }
 }
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 5f990100d853..190a6009d9f5 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -560,7 +560,7 @@ namespace
                 SAL_WARN_IF( aValues.getLength() != 1, "linguistic", 
"unexpected length of sequence" );
                 Sequence< OUString > aSvcImplNames;
                 if (aValues.getConstArray()[0] >>= aSvcImplNames)
-                    aRes = aSvcImplNames;
+                    aRes = std::move(aSvcImplNames);
                 else
                 {
                     SAL_WARN( "linguistic", "type mismatch" );
@@ -683,7 +683,7 @@ void LngSvcMgr::UpdateAll()
             // merge services list (previously configured to be listed first).
             aCfgSvcs = lcl_MergeSeq( aCfgSvcs, aNewSvcs );
 
-            aCurSvcs[k][ aCfgLocaleStr ] = aCfgSvcs;
+            aCurSvcs[k][ aCfgLocaleStr ] = std::move(aCfgSvcs);
         }
     }
 
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 68a1bea9ddc2..054671fd5c67 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -1227,7 +1227,7 @@ Reference< XShape > const & Shape::createAndInsert(
             pPoints[i] = awt::Point(static_cast<sal_Int32>(aPoint.getX()), 
static_cast<sal_Int32>(aPoint.getY()));
         }
         uno::Sequence< uno::Sequence< awt::Point > > aPolyPolySequence( 1 );
-        aPolyPolySequence.getArray()[ 0 ] = aPointSequence;
+        aPolyPolySequence.getArray()[ 0 ] = std::move(aPointSequence);
 
         maShapeProperties.setProperty(PROP_PolyPolygon, aPolyPolySequence);
     }
@@ -2772,7 +2772,7 @@ uno::Sequence< uno::Sequence< uno::Any > >  
Shape::resolveRelationshipsOfTypeFro
 
                 pdiagramRelTuple[2] <<= sTarget.copy( sTarget.lastIndexOf(".") 
);
 
-                pxRelListTemp[counter] = diagramRelTuple;
+                pxRelListTemp[counter] = std::move(diagramRelTuple);
                 ++counter;
             }
             xRelListTemp.realloc(counter);
diff --git a/package/source/xstor/owriteablestream.cxx 
b/package/source/xstor/owriteablestream.cxx
index 88c2a4fd5e10..798fafa808a1 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -2641,7 +2641,7 @@ void SAL_CALL OWriteStream::insertRelationshipByID(  
const OUString& sID, const
 
     *pPair = comphelper::containerToSequence(aResult);
 
-    m_pImpl->m_aNewRelInfo = aSeq;
+    m_pImpl->m_aNewRelInfo = std::move(aSeq);
     m_pImpl->m_xNewRelInfoStream.clear();
     m_pImpl->m_nRelInfoStatus = RELINFO_CHANGED;
 }
@@ -2669,7 +2669,7 @@ void SAL_CALL OWriteStream::removeRelationshipByID(  
const OUString& sID  )
         auto nInd = static_cast<sal_Int32>(std::distance(std::cbegin(aSeq), 
pRel));
         comphelper::removeElementAt(aSeq, nInd);
 
-        m_pImpl->m_aNewRelInfo = aSeq;
+        m_pImpl->m_aNewRelInfo = std::move(aSeq);
         m_pImpl->m_xNewRelInfoStream.clear();
         m_pImpl->m_nRelInfoStatus = RELINFO_CHANGED;
 
diff --git a/package/source/xstor/xstorage.cxx 
b/package/source/xstor/xstorage.cxx
index c85a83a3f8e1..f3afc01b1744 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -4784,7 +4784,7 @@ void SAL_CALL OStorage::insertRelationshipByID(  const 
OUString& sID, const uno:
 
     *pResult = comphelper::containerToSequence(aResult);
 
-    m_pImpl->m_aRelInfo = aSeq;
+    m_pImpl->m_aRelInfo = std::move(aSeq);
     m_pImpl->m_xNewRelInfoStream.clear();
     m_pImpl->m_nRelInfoStatus = RELINFO_CHANGED;
 }
@@ -4812,7 +4812,7 @@ void SAL_CALL OStorage::removeRelationshipByID(  const 
OUString& sID  )
         auto nInd = static_cast<sal_Int32>(std::distance(std::cbegin(aSeq), 
pRel));
         comphelper::removeElementAt(aSeq, nInd);
 
-        m_pImpl->m_aRelInfo = aSeq;
+        m_pImpl->m_aRelInfo = std::move(aSeq);
         m_pImpl->m_xNewRelInfoStream.clear();
         m_pImpl->m_nRelInfoStatus = RELINFO_CHANGED;
 
diff --git a/package/source/zippackage/ZipPackage.cxx 
b/package/source/zippackage/ZipPackage.cxx
index 1b79a3808d95..9d6aa47e319b 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -1908,7 +1908,7 @@ void SAL_CALL ZipPackage::setPropertyValue( const 
OUString& aPropertyName, const
             throw IllegalArgumentException(THROW_WHERE "unexpected Gpg 
properties are provided.", uno::Reference< uno::XInterface >(), 2 );
         }
 
-        m_aGpgProps = aGpgProps;
+        m_aGpgProps = std::move(aGpgProps);
 
         // override algorithm defaults (which are some legacy ODF
         // defaults) with reasonable values
diff --git a/package/source/zippackage/ZipPackageStream.cxx 
b/package/source/zippackage/ZipPackageStream.cxx
index cc365b63bc50..8280a048c7c5 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -1244,7 +1244,7 @@ void SAL_CALL ZipPackageStream::setPropertyValue( const 
OUString& aPropertyName,
             const sal_Unicode *pChar = sTempString.getStr();
             for ( sal_Int32 i = 0; i < nPathLength; i++ )
                 pArray[i] = static_cast < sal_Int8 > ( pChar[i] );
-            aNewKey = aSequence;
+            aNewKey = std::move(aSequence);
         }
 
         if ( aNewKey.hasElements() )
@@ -1252,7 +1252,7 @@ void SAL_CALL ZipPackageStream::setPropertyValue( const 
OUString& aPropertyName,
             if ( !m_xBaseEncryptionData.is() )
                 m_xBaseEncryptionData = new BaseEncryptionData;
 
-            m_aEncryptionKey = aNewKey;
+            m_aEncryptionKey = std::move(aNewKey);
             // In case of new raw stream, the stream must not be encrypted on 
storing
             m_bHaveOwnKey = true;
             if ( m_nStreamMode != PACKAGE_STREAM_RAW )
@@ -1284,7 +1284,7 @@ void SAL_CALL ZipPackageStream::setPropertyValue( const 
OUString& aPropertyName,
             if ( !m_xBaseEncryptionData.is() )
                 m_xBaseEncryptionData = new BaseEncryptionData;
 
-            m_aStorageEncryptionKeys = aKeys;
+            m_aStorageEncryptionKeys = std::move(aKeys);
 
             // In case of new raw stream, the stream must not be encrypted on 
storing
             m_bHaveOwnKey = true;
diff --git a/sc/source/core/tool/rangeseq.cxx b/sc/source/core/tool/rangeseq.cxx
index bd71358f98d2..63731b3236c9 100644
--- a/sc/source/core/tool/rangeseq.cxx
+++ b/sc/source/core/tool/rangeseq.cxx
@@ -78,7 +78,7 @@ bool ScRangeToSequence::FillLongArray( uno::Any& rAny, 
ScDocument& rDoc, const S
             pColAry[nCol] = lcl_DoubleToLong( rDoc.GetValue(
                 ScAddress( static_cast<SCCOL>(nStartCol+nCol), 
static_cast<SCROW>(nStartRow+nRow), nTab ) ) );
 
-        pRowAry[nRow] = aColSeq;
+        pRowAry[nRow] = std::move(aColSeq);
     }
 
     rAny <<= aRowSeq;
@@ -106,7 +106,7 @@ bool ScRangeToSequence::FillLongArray( uno::Any& rAny, 
const ScMatrix* pMatrix )
             else
                 pColAry[nCol] = lcl_DoubleToLong( pMatrix->GetDouble( nCol, 
nRow ) );
 
-        pRowAry[nRow] = aColSeq;
+        pRowAry[nRow] = std::move(aColSeq);
     }
 
     rAny <<= aRowSeq;
@@ -131,7 +131,7 @@ bool ScRangeToSequence::FillDoubleArray( uno::Any& rAny, 
ScDocument& rDoc, const
             pColAry[nCol] = rDoc.GetValue(
                 ScAddress( static_cast<SCCOL>(nStartCol+nCol), 
static_cast<SCROW>(nStartRow+nRow), nTab ) );
 
-        pRowAry[nRow] = aColSeq;
+        pRowAry[nRow] = std::move(aColSeq);
     }
 
     rAny <<= aRowSeq;
@@ -159,7 +159,7 @@ bool ScRangeToSequence::FillDoubleArray( uno::Any& rAny, 
const ScMatrix* pMatrix
             else
                 pColAry[nCol] = pMatrix->GetDouble( nCol, nRow );
 
-        pRowAry[nRow] = aColSeq;
+        pRowAry[nRow] = std::move(aColSeq);
     }
 
     rAny <<= aRowSeq;
@@ -190,7 +190,7 @@ bool ScRangeToSequence::FillStringArray( uno::Any& rAny, 
ScDocument& rDoc, const
             if ( nErrCode != FormulaError::NONE )
                 bHasErrors = true;
         }
-        pRowAry[nRow] = aColSeq;
+        pRowAry[nRow] = std::move(aColSeq);
     }
 
     rAny <<= aRowSeq;
@@ -229,7 +229,7 @@ bool ScRangeToSequence::FillStringArray(uno::Any& rAny, 
const ScMatrix* pMatrix,
             pColAry[nCol] = aStr;
         }
 
-        pRowAry[nRow] = aColSeq;
+        pRowAry[nRow] = std::move(aColSeq);
     }
 
     rAny <<= aRowSeq;
@@ -276,7 +276,7 @@ bool ScRangeToSequence::FillMixedArray( uno::Any& rAny, 
ScDocument& rDoc, const
             else
                 rElement <<= aCell.getString(&rDoc);
         }
-        pRowAry[nRow] = aColSeq;
+        pRowAry[nRow] = std::move(aColSeq);
     }
 
     rAny <<= aRowSeq;
@@ -317,7 +317,7 @@ bool ScRangeToSequence::FillMixedArray( uno::Any& rAny, 
const ScMatrix* pMatrix,
             }
         }
 
-        pRowAry[nRow] = aColSeq;
+        pRowAry[nRow] = std::move(aColSeq);
     }
 
     rAny <<= aRowSeq;
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx 
b/sc/source/ui/Accessibility/AccessibleCell.cxx
index 3d1fb315965c..89b219a5d411 100644
--- a/sc/source/ui/Accessibility/AccessibleCell.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCell.cxx
@@ -478,7 +478,7 @@ void ScAccessibleCell::AddRelation(const ScRange& rRange,
     OSL_ENSURE(nCount == nPos, "something went wrong");
     AccessibleRelation aRelation;
     aRelation.RelationType = aRelationType;
-    aRelation.TargetSet = aTargetSet;
+    aRelation.TargetSet = std::move(aTargetSet);
     pRelationSet->AddRelation(aRelation);
 }
 
diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx 
b/sc/source/ui/miscdlgs/solveroptions.cxx
index 15e91f65f6e0..b3cc8e543c3e 100644
--- a/sc/source/ui/miscdlgs/solveroptions.cxx
+++ b/sc/source/ui/miscdlgs/solveroptions.cxx
@@ -175,7 +175,7 @@ void ScSolverOptionsDialog::FillListBox()
     aNewSeq.realloc( nCount );
     std::transform(aDescriptions.begin(), aDescriptions.end(), 
aNewSeq.getArray(),
         [this](const ScSolverOptionsEntry& rDescr) -> beans::PropertyValue { 
return maProperties[ rDescr.nPosition ]; });
-    maProperties = aNewSeq;
+    maProperties = std::move(aNewSeq);
 
     // fill the list box
 
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 556edb426ba9..f602b6ca0e3c 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -2910,7 +2910,7 @@ uno::Sequence< uno::Sequence<double> > SAL_CALL 
ScCellRangesBase::getData()
             for (sal_Int32 nCol = 0; nCol < nColCount; nCol++)
                 pColAry[nCol] = pMemChart->GetData( nCol, nRow );
 
-            pRowAry[nRow] = aColSeq;
+            pRowAry[nRow] = std::move(aColSeq);
         }
 
         return aRowSeq;
@@ -4964,7 +4964,7 @@ uno::Sequence< uno::Sequence<OUString> > SAL_CALL 
ScCellRangeObj::getFormulaArra
                 pColAry[nColIndex] = lcl_GetInputString( pDocSh->GetDocument(),
                                     ScAddress( nStartCol+nColIndex, 
nStartRow+nRowIndex, nTab ), true );
 
-            pRowAry[nRowIndex] = aColSeq;
+            pRowAry[nRowIndex] = std::move(aColSeq);
         }
 
         return aRowSeq;
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx
index efb09de2272b..a20c1f5b3e8d 100644
--- a/sc/source/ui/unoobj/fmtuno.cxx
+++ b/sc/source/ui/unoobj/fmtuno.cxx
@@ -284,7 +284,7 @@ void SAL_CALL ScTableConditionalFormat::addNew(
             else if ( rProp.Value >>= aTokens )
             {
                 aEntry.maExpr2.clear();
-                aEntry.maTokens2 = aTokens;
+                aEntry.maTokens2 = std::move(aTokens);
             }
         }
         else if ( rProp.Name == SC_UNONAME_SOURCEPOS )
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx 
b/sc/source/ui/vba/vbaeventshelper.cxx
index 19e91f5711a0..09c956fb9372 100644
--- a/sc/source/ui/vba/vbaeventshelper.cxx
+++ b/sc/source/ui/vba/vbaeventshelper.cxx
@@ -759,7 +759,7 @@ uno::Sequence< uno::Any > 
ScVbaEventsHelper::implBuildArgumentList( const EventH
         auto pVbaArgs2 = aVbaArgs2.getArray();
         *pVbaArgs2 = createWorksheet( rArgs, 0 );
         std::copy_n(std::cbegin(aVbaArgs), nLength, std::next(pVbaArgs2));
-        aVbaArgs = aVbaArgs2;
+        aVbaArgs = std::move(aVbaArgs2);
     }
 
     return aVbaArgs;
diff --git a/scripting/source/provider/MasterScriptProvider.cxx 
b/scripting/source/provider/MasterScriptProvider.cxx
index ccbe721350a5..f033a9dbe317 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -176,7 +176,7 @@ void SAL_CALL MasterScriptProvider::initialize( const 
Sequence < Any >& args )
         // use either scripting context or maybe zero args?
         invokeArgs = Sequence< Any >( 0 ); // no arguments
     }
-    m_sAargs = invokeArgs;
+    m_sAargs = std::move(invokeArgs);
     // don't create pkg mgr MSP for documents, not supported
     if ( !m_bIsPkgMSP && !m_xModel.is() )
     {
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 27d42fca3d09..c4d831fe168a 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -1740,7 +1740,7 @@ uno::Sequence< uno::Type > SAL_CALL 
SdXImpressDocument::getTypes(  )
                     
cppu::UnoType<presentation::XCustomPresentationSupplier>::get(),
                     cppu::UnoType<presentation::XHandoutMasterSupplier>::get() 
});
         }
-        maTypeSequence = aTypes;
+        maTypeSequence = std::move(aTypes);
     }
 
     return maTypeSequence;
diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx
index 6c0ba8c053bc..46ca28982fec 100644
--- a/sfx2/source/appl/appuno.cxx
+++ b/sfx2/source/appl/appuno.cxx
@@ -1695,7 +1695,7 @@ void TransformItems( sal_uInt16 nSlotId, const 
SfxItemSet& rSet, uno::Sequence<b
         }
     }
 
-    rArgs = aSequ;
+    rArgs = std::move(aSequ);
 }
 
 void SAL_CALL FilterOptionsContinuation::setFilterOptions(
diff --git a/sfx2/source/control/recentdocsviewitem.cxx 
b/sfx2/source/control/recentdocsviewitem.cxx
index 0bd2cf0cebc2..4264ef90509f 100644
--- a/sfx2/source/control/recentdocsviewitem.cxx
+++ b/sfx2/source/control/recentdocsviewitem.cxx
@@ -387,7 +387,7 @@ void RecentDocsViewItem::OpenDocument()
     sfx2::LoadRecentFile *const pLoadRecentFile = new sfx2::LoadRecentFile;
     pLoadRecentFile->xDispatch = std::move(xDispatch);
     pLoadRecentFile->aTargetURL = std::move(aTargetURL);
-    pLoadRecentFile->aArgSeq = aArgsList;
+    pLoadRecentFile->aArgSeq = std::move(aArgsList);
     pLoadRecentFile->pView = &mrParentView;
 
     mrParentView.PostLoadRecentUsedFile(pLoadRecentFile);
diff --git a/sfx2/source/dialog/filedlghelper.cxx 
b/sfx2/source/dialog/filedlghelper.cxx
index 78ccb4cceac7..3162c13b1481 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -2734,7 +2734,7 @@ Sequence< OUString > FileDialogHelper::GetSelectedFiles() 
const
             }
         }
         else
-            aResultSeq = lFiles;
+            aResultSeq = std::move(lFiles);
     }
 
     return aResultSeq;
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 6ec82f732749..db1984c59052 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -499,7 +499,7 @@ uno::Sequence< beans::PropertyValue > 
ModelData_Impl::GetDocServiceDefaultFilter
         SfxFilterFlags nFlags = 
static_cast<SfxFilterFlags>(aFiltHM.getUnpackedValueOrDefault(u"Flags"_ustr,
                                                         sal_Int32(0) ));
         if ( ( ( nFlags & nMust ) == nMust ) && !( nFlags & nDont ) )
-            aFilterProps = aProps;
+            aFilterProps = std::move(aProps);
     }
 
     return aFilterProps;
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index e77fdf2048c9..a42d0d937f37 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -573,7 +573,7 @@ namespace
             aStrippedTypes.getArray(),
             [&i_rTypeToStrip](const uno::Type& aType) { return aType == 
i_rTypeToStrip; }
         );
-        io_rTypes = aStrippedTypes;
+        io_rTypes = std::move(aStrippedTypes);
     }
 }
 
@@ -935,7 +935,7 @@ sal_Bool SAL_CALL SfxBaseModel::attachResource( const   
OUString&
 
         // TODO/LATER: all the parameters that are accepted by ItemSet of the 
DocShell must be removed here
 
-        m_pData->m_seqArguments = aStrippedArgs;
+        m_pData->m_seqArguments = std::move(aStrippedArgs);
 
         SfxMedium* pMedium = pObjectShell->GetMedium();
         if ( pMedium )
@@ -1094,7 +1094,7 @@ Sequence< beans::PropertyValue > SAL_CALL 
SfxBaseModel::getArgs2(const Sequence<
                 }
             }
 
-            m_pData->m_seqArguments = aFinalCache;
+            m_pData->m_seqArguments = std::move(aFinalCache);
         }
 
         return seqArgsNew;
diff --git a/stoc/source/security/file_policy.cxx 
b/stoc/source/security/file_policy.cxx
index 5188df0a9ec3..647884064ea9 100644
--- a/stoc/source/security/file_policy.cxx
+++ b/stoc/source/security/file_policy.cxx
@@ -443,7 +443,7 @@ void FilePolicy::refresh()
                 sal_Int32 len = perms.getLength();
                 perms.realloc( len +1 );
                 perms.getArray()[ len ] = perm;
-                userPermissions[ userId ] = perms;
+                userPermissions[ userId ] = std::move(perms);
             }
             else
             {
@@ -461,7 +461,7 @@ void FilePolicy::refresh()
 
     // assign new ones
     MutexGuard guard( m_aMutex );
-    m_defaultPermissions = defaultPermissions;
+    m_defaultPermissions = std::move(defaultPermissions);
     m_userPermissions = std::move(userPermissions);
 }
 
diff --git a/svl/source/passwordcontainer/syscreds.cxx 
b/svl/source/passwordcontainer/syscreds.cxx
index 99bb0b1b0852..e3c7561479d2 100644
--- a/svl/source/passwordcontainer/syscreds.cxx
+++ b/svl/source/passwordcontainer/syscreds.cxx
@@ -77,7 +77,7 @@ 
SysCredentialsConfigItem::getSystemCredentialsURLs(std::unique_lock<std::mutex>&
         if ( ( aAnyValues[ 0 ] >>= aValues ) ||
              ( !aAnyValues[ 0 ].hasValue() ) )
         {
-            m_seqURLs = aValues;
+            m_seqURLs = std::move(aValues);
             m_bInited = true;
         }
     }
diff --git a/svtools/source/uno/wizard/unowizard.cxx 
b/svtools/source/uno/wizard/unowizard.cxx
index 69c34b00ae42..4b2a9249f90e 100644
--- a/svtools/source/uno/wizard/unowizard.cxx
+++ b/svtools/source/uno/wizard/unowizard.cxx
@@ -228,7 +228,7 @@ namespace {
         }
         lcl_checkPaths( aMultiplePaths, *this );
         // if we survived this, the paths are valid, and we're done here ...
-        m_aWizardSteps = aMultiplePaths;
+        m_aWizardSteps = std::move(aMultiplePaths);
 
         m_bInitialized = true;
     }
diff --git a/svx/source/form/formcontroller.cxx 
b/svx/source/form/formcontroller.cxx
index 16d7d3389048..cb3893d36cbb 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -945,7 +945,7 @@ Sequence< Sequence< OUString > > 
FormController::getPredicateExpressions()
             ++componentIndex;
         }
 
-        aExpressionsRange[ termIndex ] = aConjunction;
+        aExpressionsRange[ termIndex ] = std::move(aConjunction);
         ++termIndex;
     }
 
@@ -2073,7 +2073,7 @@ Sequence< Reference< XControl > > 
FormController::getControls()
         if ( j != nModels )
             aNewControls.realloc( j );
 
-        m_aControls = aNewControls;
+        m_aControls = std::move(aNewControls);
         m_bControlsSorted = true;
     }
     return m_aControls;
diff --git a/svx/source/items/zoomslideritem.cxx 
b/svx/source/items/zoomslideritem.cxx
index 042b9f4a5947..4f5408d2343a 100644
--- a/svx/source/items/zoomslideritem.cxx
+++ b/svx/source/items/zoomslideritem.cxx
@@ -145,7 +145,7 @@ bool SvxZoomSliderItem::PutValue( const css::uno::Any& 
rVal, sal_uInt8 nMemberId
                     if ( bAllConverted && nConvertedCount == ZOOMSLIDER_PARAMS 
)
                     {
                         SetValue( static_cast<sal_uInt16>(nCurrentZoom) );
-                        maValues = aValues;
+                        maValues = std::move(aValues);
                         mnMinZoom = sal::static_int_cast< sal_uInt16 >( 
nMinZoom );
                         mnMaxZoom = sal::static_int_cast< sal_uInt16 >( 
nMaxZoom );
 
diff --git a/svx/source/smarttags/SmartTagMgr.cxx 
b/svx/source/smarttags/SmartTagMgr.cxx
index 86322fcc1234..49ee7e0b3bac 100644
--- a/svx/source/smarttags/SmartTagMgr.cxx
+++ b/svx/source/smarttags/SmartTagMgr.cxx
@@ -162,8 +162,8 @@ void SmartTagMgr::GetActionSequences( std::vector< OUString 
>& rSmartTagTypes,
             aIndicesRange[ i++ ] = (*aActionsIter).second.mnSmartTagIndex;
         }
 
-        pActionComponentsSequence[ j ] = aActions;
-        pActionIndicesSequence[ j ]  = aIndices;
+        pActionComponentsSequence[ j ] = std::move(aActions);
+        pActionIndicesSequence[ j ]  = std::move(aIndices);
     }
 }
 
diff --git a/sw/source/core/txtnode/txtedt.cxx 
b/sw/source/core/txtnode/txtedt.cxx
index c08d36505730..59cee4abb992 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -2034,7 +2034,7 @@ void SwTextNode::TransliterateText(
                 aChgData.nStart     = nStt;
                 aChgData.nLen       = nLen;
                 aChgData.sChanged   = sChgd;
-                aChgData.aOffsets   = aOffsets;
+                aChgData.aOffsets   = std::move(aOffsets);
                 aChanges.push_back( aChgData );
             }
 
diff --git a/sw/source/core/unocore/unochart.cxx 
b/sw/source/core/unocore/unochart.cxx
index f0afc975e723..5ea87aef1135 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -454,7 +454,7 @@ static bool GetSubranges( std::u16string_view 
rRangeRepresentation,
     }
     aRanges.realloc( nCnt );
 
-    rSubRanges = aRanges;
+    rSubRanges = std::move(aRanges);
     return bRes;
 }
 
diff --git a/sw/source/core/unocore/unosect.cxx 
b/sw/source/core/unocore/unosect.cxx
index 779013032727..5e396c44a3ea 100644
--- a/sw/source/core/unocore/unosect.cxx
+++ b/sw/source/core/unocore/unosect.cxx
@@ -805,7 +805,7 @@ void SwXTextSection::Impl::SetPropertyValues_Impl(
                 pValues[nProperty] >>= aSeq;
                 if (m_bIsDescriptor)
                 {
-                    m_pProps->m_Password = aSeq;
+                    m_pProps->m_Password = std::move(aSeq);
                 }
                 else
                 {
diff --git a/sw/source/core/unocore/unotext.cxx 
b/sw/source/core/unocore/unotext.cxx
index efb5d7287501..2c4e11dbc139 100644
--- a/sw/source/core/unocore/unotext.cxx
+++ b/sw/source/core/unocore/unotext.cxx
@@ -2051,7 +2051,7 @@ lcl_ApplyRowProperties(
             // for vertical merging later
             TableColumnSeparators aSeparators;
             rProperty.Value >>= aSeparators;
-            rRowSeparators = aSeparators;
+            rRowSeparators = std::move(aSeparators);
         }
         xRow->setPropertyValue(rProperty.Name, rProperty.Value);
     }
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx 
b/sw/source/ui/dbui/mmaddressblockpage.cxx
index a6d6cb10d4b3..c0fdbee88cd4 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -368,7 +368,7 @@ const uno::Sequence< OUString >&    
SwSelectAddressBlockDialog::GetAddressBlocks
         *it = m_aAddressBlocks[nSelect];
         it = std::copy_n(std::cbegin(m_aAddressBlocks), nSelect - 1, 
std::next(it));
         std::copy(std::next(std::cbegin(m_aAddressBlocks), nSelect + 1), 
std::cend(m_aAddressBlocks), it);
-        m_aAddressBlocks = aTemp;
+        m_aAddressBlocks = std::move(aTemp);
     }
     return m_aAddressBlocks;
 }
diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx
index 8898641c72e5..663926af3fe9 100644
--- a/sw/source/ui/index/cntex.cxx
+++ b/sw/source/ui/index/cntex.cxx
@@ -337,7 +337,7 @@ void SwMultiTOXTabDialog::CreateOrUpdateExample(
                             pPropValArr[2].Value <<= aToken.sText;
                         }
                         beans::PropertyValues* pValues = 
aSequPropVals.getArray();
-                        pValues[nTokenIndex] = aPropVals;
+                        pValues[nTokenIndex] = std::move(aPropVals);
                         nTokenIndex++;
                     }
                     aSequPropVals.realloc(nTokenIndex);
diff --git a/sw/source/uibase/uno/unomailmerge.cxx 
b/sw/source/uibase/uno/unomailmerge.cxx
index 1ad9fb07f27a..7dfd6aec47c6 100644
--- a/sw/source/uibase/uno/unomailmerge.cxx
+++ b/sw/source/uibase/uno/unomailmerge.cxx
@@ -580,7 +580,7 @@ uno::Any SAL_CALL SwXMailMerge::execute(
             );
         }
 
-        aCurSelection = aTranslated;
+        aCurSelection = std::move(aTranslated);
     }
 
     SfxViewFrame*   pFrame = SfxViewFrame::GetFirst( xCurDocSh.get(), false);
diff --git a/toolkit/source/controls/stdtabcontroller.cxx 
b/toolkit/source/controls/stdtabcontroller.cxx
index d017b76fe652..7298a915377b 100644
--- a/toolkit/source/controls/stdtabcontroller.cxx
+++ b/toolkit/source/controls/stdtabcontroller.cxx
@@ -73,7 +73,7 @@ bool StdTabController::ImplCreateComponentSequence(
                 aSeqRange[nRealControls++] = xCurrentControl;
         }
         aSeq.realloc(nRealControls);
-        rControls = aSeq;
+        rControls = std::move(aSeq);
     }
 
     // there may be less controls than models, but never more controls than 
models
diff --git a/toolkit/source/controls/stdtabcontrollermodel.cxx 
b/toolkit/source/controls/stdtabcontrollermodel.cxx
index b9775268b95c..bc734330708e 100644
--- a/toolkit/source/controls/stdtabcontrollermodel.cxx
+++ b/toolkit/source/controls/stdtabcontrollermodel.cxx
@@ -338,7 +338,7 @@ void StdTabControllerModel::getGroup( sal_Int32 nGroup, 
css::uno::Sequence< css:
             nG++;
         }
     }
-    rGroup = aSeq;
+    rGroup = std::move(aSeq);
 }
 
 void StdTabControllerModel::getGroupByName( const OUString& rName, 
css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& rGroup )
diff --git a/ucb/source/sorter/sortdynres.cxx b/ucb/source/sorter/sortdynres.cxx
index cacdc9f52617..83ba604eb3c0 100644
--- a/ucb/source/sorter/sortdynres.cxx
+++ b/ucb/source/sorter/sortdynres.cxx
@@ -382,7 +382,7 @@ void SortedDynamicResultSet::SendNotify()
         }
 
         ListEvent aNewEvent;
-        aNewEvent.Changes = aActionList;
+        aNewEvent.Changes = std::move(aActionList);
 
         mxListener->notify( aNewEvent );
     }
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx 
b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
index 5a1c062f8ef5..9f00dea6d14b 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
@@ -1745,7 +1745,7 @@ HierarchyContentProperties::getCreatableContentsInfo() 
const
                     -1,
                     cppu::UnoType<OUString>::get(),
                     beans::PropertyAttribute::BOUND );
-        aSeq.getArray()[ 0 ].Properties = aFolderProps;
+        aSeq.getArray()[ 0 ].Properties = std::move(aFolderProps);
 
         // Link.
         aSeq.getArray()[ 1 ].Type = HIERARCHY_LINK_CONTENT_TYPE;
@@ -1762,7 +1762,7 @@ HierarchyContentProperties::getCreatableContentsInfo() 
const
                     -1,
                     cppu::UnoType<OUString>::get(),
                     beans::PropertyAttribute::BOUND );
-        aSeq.getArray()[ 1 ].Properties = aLinkProps;
+        aSeq.getArray()[ 1 ].Properties = std::move(aLinkProps);
 
         return aSeq;
     }
diff --git a/ucb/source/ucp/package/pkgcontent.cxx 
b/ucb/source/ucp/package/pkgcontent.cxx
index a9c5407a6d4c..ef46dd186af4 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -130,7 +130,7 @@ ContentProperties::getCreatableContentsInfo( PackageUri 
const & rUri ) const
         aSeq.getArray()[ 1 ].Attributes
             = ucb::ContentInfoAttribute::INSERT_WITH_INPUTSTREAM
               | ucb::ContentInfoAttribute::KIND_DOCUMENT;
-        aSeq.getArray()[ 1 ].Properties = aProps;
+        aSeq.getArray()[ 1 ].Properties = std::move(aProps);
 
         return aSeq;
     }
@@ -1179,7 +1179,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
                         aEvent.OldValue     <<= m_aProps.aEncryptionKey;
                         aEvent.NewValue     <<= aNewValue;
 
-                        m_aProps.aEncryptionKey = aNewValue;
+                        m_aProps.aEncryptionKey = std::move(aNewValue);
                         nChanged++;
                         bStore = true;
                         m_nModifiedProps |= ENCRYPTIONKEY_MODIFIED;
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx 
b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 2187b748f7d3..358305003ecd 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -2816,7 +2816,7 @@ ContentProperties::getCreatableContentsInfo() const
             aSeq.getArray()[ 1 ].Attributes
                 = ucb::ContentInfoAttribute::INSERT_WITH_INPUTSTREAM
                   | ucb::ContentInfoAttribute::KIND_DOCUMENT;
-            aSeq.getArray()[ 1 ].Properties = aProps;
+            aSeq.getArray()[ 1 ].Properties = std::move(aProps);
 
             return aSeq;
         }
diff --git a/ucb/source/ucp/webdav-curl/webdavcontent.cxx 
b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
index e38e2851fc33..fc8a932b0cee 100644
--- a/ucb/source/ucp/webdav-curl/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
@@ -1085,7 +1085,7 @@ Content::queryCreatableContentsInfo()
 
     uno::Sequence< beans::Property > aDocProps( 1 );
     aDocProps.getArray()[ 0 ] = aProp;
-    aSeq.getArray()[ 0 ].Properties = aDocProps;
+    aSeq.getArray()[ 0 ].Properties = std::move(aDocProps);
 
     // folder.
     aSeq.getArray()[ 1 ].Type = WEBDAV_COLLECTION_TYPE;
@@ -1094,7 +1094,7 @@ Content::queryCreatableContentsInfo()
 
     uno::Sequence< beans::Property > aFolderProps( 1 );
     aFolderProps.getArray()[0] = std::move(aProp);
-    aSeq.getArray()[ 1 ].Properties = aFolderProps;
+    aSeq.getArray()[ 1 ].Properties = std::move(aFolderProps);
     return aSeq;
 }
 
diff --git a/ucbhelper/source/client/content.cxx 
b/ucbhelper/source/client/content.cxx
index b3f2fe2e1ff4..fc655353dd98 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -584,7 +584,7 @@ Any Content::createCursorAny( const Sequence< OUString >& 
rPropertyNames,
                             ? OpenMode::DOCUMENTS : OpenMode::ALL;
     aArg.Priority   = 0; // unused
     aArg.Sink.clear(); // unused
-    aArg.Properties = aProps;
+    aArg.Properties = std::move(aProps);
 
     Command aCommand;
     aCommand.Name     = "open";
diff --git a/unotools/source/config/configitem.cxx 
b/unotools/source/config/configitem.cxx
index b6c0b808dfd9..a083c22e2a4c 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -423,7 +423,7 @@ Sequence< Any > ConfigItem::GetProperties(
     {
         Sequence< Any > lValues;
         impl_packLocalizedProperties( rNames, aRet, lValues );
-        aRet = lValues;
+        aRet = std::move(lValues);
     }
     return aRet;
 }
diff --git a/unotools/source/config/lingucfg.cxx 
b/unotools/source/config/lingucfg.cxx
index f96928d4d7b8..a276478c1510 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -1032,9 +1032,9 @@ bool SvtLinguConfig::GetDictionaryEntry(
             // if everything was fine return the result
             if (bSuccess)
             {
-                rDicEntry.aLocations    = aLocations;
+                rDicEntry.aLocations    = std::move(aLocations);
                 rDicEntry.aFormatName   = aFormatName;
-                rDicEntry.aLocaleNames  = aLocaleNames;
+                rDicEntry.aLocaleNames  = std::move(aLocaleNames);
             }
         }
     }
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 2a0846a0a63d..7b78c3a3cdce 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1624,7 +1624,7 @@ void PrinterController::setUIOptions( const 
css::uno::Sequence< css::beans::Prop
             if( !aDep.maDependsOnName.isEmpty() )
                 mpImplData->maControlDependencies[ aPropName ] = 
std::move(aDep);
             if( aChoicesDisabled.hasElements() )
-                mpImplData->maChoiceDisableMap[ aPropName ] = aChoicesDisabled;
+                mpImplData->maChoiceDisableMap[ aPropName ] = 
std::move(aChoicesDisabled);
         }
     }
 }
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx 
b/vcl/unx/generic/dtrans/X11_selection.cxx
index 0a342fa7f5cc..bde65c2936dc 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -1363,7 +1363,7 @@ bool SelectionManager::getPasteDataTypes( Atom selection, 
Sequence< DataFlavor >
                 aTemp.getArray()[i+1] = rTypes.getConstArray()[i];
             aTemp.getArray()[0].MimeType = "text/plain;charset=utf-16";
             aTemp.getArray()[0].DataType = cppu::UnoType<OUString>::get();
-            rTypes = aTemp;
+            rTypes = std::move(aTemp);
 
             std::vector< Atom > aNativeTemp( nNewFlavors );
             for( i = 0; i < nNewFlavors-1; i++ )
@@ -1538,7 +1538,7 @@ bool SelectionManager::sendData( SelectionAdaptor* 
pAdaptor,
 
             // insert IncrementalTransfer
             IncrementalTransfer& rInc   = m_aIncrementals[ requestor ][ 
property ];
-            rInc.m_aData                = aData;
+            rInc.m_aData                = std::move(aData);
             rInc.m_nBufferPos           = 0;
             rInc.m_aRequestor           = requestor;
             rInc.m_aProperty            = property;
@@ -1904,7 +1904,7 @@ bool SelectionManager::handleReceivePropertyNotify( 
XPropertyEvent const & rNoti
                     Sequence< sal_Int8 > aData( 
it->second->m_aData.getLength() + nItems*nUnitSize );
                     memcpy( aData.getArray(), it->second->m_aData.getArray(), 
it->second->m_aData.getLength() );
                     memcpy( aData.getArray() + 
it->second->m_aData.getLength(), pData, nItems*nUnitSize );
-                    it->second->m_aData = aData;
+                    it->second->m_aData = std::move(aData);
                 }
                 else
                 {
diff --git a/vcl/unx/gtk3/a11y/atktextattributes.cxx 
b/vcl/unx/gtk3/a11y/atktextattributes.cxx
index 7f3e5a23ce1e..29b6acb515d6 100644
--- a/vcl/unx/gtk3/a11y/atktextattributes.cxx
+++ b/vcl/unx/gtk3/a11y/atktextattributes.cxx
@@ -1381,7 +1381,7 @@ attribute_set_map_to_property_values(
     }
 
     aAttributeList.realloc( nIndex );
-    rValueList = aAttributeList;
+    rValueList = std::move(aAttributeList);
     return true;
 }
 
diff --git a/xmloff/source/chart/SchXMLExport.cxx 
b/xmloff/source/chart/SchXMLExport.cxx
index ebdf3bf1ca2f..5d3b1693f6f2 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -341,7 +341,7 @@ CustomLabelData lcl_getCustomLabelField(SvXMLExport const& 
rExport,
                 }
             }
 
-            aData.maFields = aCustomLabels;
+            aData.maFields = std::move(aCustomLabels);
             return aData;
         }
     }
diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx 
b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
index 007205672669..9e2c22d20e2a 100644
--- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx
+++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
@@ -228,7 +228,7 @@ void LibraryElement::endElement()
     LibDescriptor* pLib = mxImport->mpLibDesc;
     if( !pLib )
         pLib = &static_cast< LibrariesElement* >( mxParent.get() 
)->mLibDescriptors.back();
-    pLib->aElementNames = aElementNames;
+    pLib->aElementNames = std::move(aElementNames);
 }
 
 Reference< css::xml::sax::XDocumentHandler >
commit c235e6af9192db19cbbe6f8b00112a1f6534375e
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Nov 6 09:15:25 2024 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Nov 6 13:58:45 2024 +0100

    cid#1606953 Overflowed constant
    
    Change-Id: Ife4caf4251076be5ddf289c701ec52c9828b9665
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176119
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 845a2e7da5ab..3fd1fc85f14c 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -2525,7 +2525,7 @@ void WW8TabDesc::CreateSwTable()
                 nLeft += GetMinLeft();
             else
             {
-                const short nTableWidth = m_nPreferredWidth ? 
m_nPreferredWidth : m_nSwWidth;
+                const SwTwips nTableWidth = m_nPreferredWidth ? 
m_nPreferredWidth : m_nSwWidth;
                 nLeft += m_pIo->m_aSectionManager.GetTextAreaWidth();
                 nLeft = nLeft - nTableWidth - GetMinLeft();
             }
diff --git a/sw/source/filter/ww8/ww8par2.hxx b/sw/source/filter/ww8/ww8par2.hxx
index db7f70447694..0944303ef072 100644
--- a/sw/source/filter/ww8/ww8par2.hxx
+++ b/sw/source/filter/ww8/ww8par2.hxx
@@ -229,7 +229,7 @@ class WW8TabDesc
     short m_nBands;
     short m_nMinLeft;
     short m_nMaxRight;
-    short m_nSwWidth;
+    SwTwips m_nSwWidth;
     short m_nPreferredWidth;
     short m_nPercentWidth;
 

Reply via email to