summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binaryurp/source/reader.cxx2
-rw-r--r--sw/source/core/access/accmap.cxx2
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx4
-rw-r--r--vcl/source/filter/wmf/wmfwr.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx
index 542787105caa..45276eab9971 100644
--- a/binaryurp/source/reader.cxx
+++ b/binaryurp/source/reader.cxx
@@ -330,7 +330,7 @@ void Reader::readMessage(Unmarshal & unmarshal) {
}
std::unique_ptr< IncomingRequest > req(
new IncomingRequest(
- bridge_, tid, oid, std::move(obj), type, functionId, synchronous,
+ bridge_, tid, oid, std::move(obj), std::move(type), functionId, synchronous,
memberTd, bSetter, std::move(inArgs), ccMode, std::move(cc)));
if (synchronous) {
bridge_->incrementActiveCalls();
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index aab6860c38d3..b8ec7b9a293c 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -2302,7 +2302,7 @@ void SwAccessibleMap::InvalidatePosOrSize( const SwFrame *pFrame,
{
SwAccessibleEvent_Impl aEvent(
SwAccessibleEvent_Impl::POS_CHANGED, xAccImpl.get(),
- aFrameOrObj, rOldBox );
+ std::move(aFrameOrObj), rOldBox );
AppendEvent( aEvent );
}
else
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index 9dbfe4eab4af..f932de212541 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -1081,7 +1081,7 @@ namespace cmis
try
{
pDoc = pPwc->checkIn( rArg.MajorVersion, OUSTR_TO_STDSTR( rArg.VersionComment ), newProperties,
- pOut, OUSTR_TO_STDSTR( rArg.MimeType ), OUSTR_TO_STDSTR( rArg.NewTitle ) );
+ std::move(pOut), OUSTR_TO_STDSTR( rArg.MimeType ), OUSTR_TO_STDSTR( rArg.NewTitle ) );
}
catch ( const libcmis::Exception& e )
{
@@ -1356,7 +1356,7 @@ namespace cmis
copyData( xInputStream, xOutput );
try
{
- document->setContentStream( pOut, OUSTR_TO_STDSTR( rMimeType ), std::string( ), bReplaceExisting );
+ document->setContentStream( std::move(pOut), OUSTR_TO_STDSTR( rMimeType ), std::string( ), bReplaceExisting );
}
catch ( const libcmis::Exception& )
{
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index cf4dfd3509fc..bd4f8b5d8fc6 100644
--- a/vcl/source/filter/wmf/wmfwr.cxx
+++ b/vcl/source/filter/wmf/wmfwr.cxx
@@ -1768,7 +1768,7 @@ bool WMFWriter::WriteWMF( const GDIMetaFile& rMTF, SvStream& rTargetStream,
aFont.SetCharSet(RTL_TEXTENCODING_MS_1252);
aFont.SetColor( COL_WHITE );
aFont.SetAlignment( ALIGN_BASELINE );
- aDstFont = aSrcFont = aFont;
+ aDstFont = aSrcFont = std::move(aFont);
CreateSelectDeleteFont(aDstFont);
eDstTextAlign = eSrcTextAlign = ALIGN_BASELINE;