diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/bitmap/bitmappaint.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/lineinfo.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfextoutdevdata.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/print.cxx | 2 | ||||
-rw-r--r-- | vcl/source/outdev/line.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/stacking.cxx | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/bitmap/bitmappaint.cxx b/vcl/source/bitmap/bitmappaint.cxx index 3c509d58e488..7ad31ed0ed1f 100644 --- a/vcl/source/bitmap/bitmappaint.cxx +++ b/vcl/source/bitmap/bitmappaint.cxx @@ -869,7 +869,7 @@ vcl::Region Bitmap::CreateRegion(const Color& rColor, const tools::Rectangle& rR } // copy line as new line - aLine = aNewLine; + aLine = std::move(aNewLine); nYStart = nY; } } diff --git a/vcl/source/gdi/lineinfo.cxx b/vcl/source/gdi/lineinfo.cxx index 490b1d920d5e..a6c31bebb741 100644 --- a/vcl/source/gdi/lineinfo.cxx +++ b/vcl/source/gdi/lineinfo.cxx @@ -269,7 +269,7 @@ void LineInfo::applyToB2DPolyPolygon( aResult.append(aLineTarget); } - io_rLinePolyPolygon = aResult; + io_rLinePolyPolygon = std::move(aResult); } } diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx index c81868c97a59..9d3269e9e70c 100644 --- a/vcl/source/gdi/pdfextoutdevdata.cxx +++ b/vcl/source/gdi/pdfextoutdevdata.cxx @@ -660,7 +660,7 @@ void PDFExtOutDevData::DescribeRegisteredDest( sal_Int32 nDestId, const tools::R aLinkDestination.mMapMode = mrOutDev.GetMapMode(); aLinkDestination.mPageNr = nPageNr == -1 ? mnPage : nPageNr; aLinkDestination.mAreaType = eType; - mpGlobalSyncData->mFutureDestinations[ nDestId ] = aLinkDestination; + mpGlobalSyncData->mFutureDestinations[ nDestId ] = std::move(aLinkDestination); } sal_Int32 PDFExtOutDevData::CreateDest( const tools::Rectangle& rRect, sal_Int32 nPageNr, PDFWriter::DestAreaType eType ) { diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index b9192aa6d854..502c2d0aa3f6 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -1172,7 +1172,7 @@ bool Printer::SetPaperBin( sal_uInt16 nPaperBin ) { ImplUpdateJobSetupPaper( aJobSetup ); mbNewJobSetup = true; - maJobSetup = aJobSetup; + maJobSetup = std::move(aJobSetup); ImplUpdatePageData(); ImplUpdateFontList(); return true; diff --git a/vcl/source/outdev/line.cxx b/vcl/source/outdev/line.cxx index 6bb3f1ad9976..637966678a07 100644 --- a/vcl/source/outdev/line.cxx +++ b/vcl/source/outdev/line.cxx @@ -247,7 +247,7 @@ void OutputDevice::drawLine( basegfx::B2DPolyPolygon aLinePolyPolygon, const Lin aResult.append(aLineTarget); } - aLinePolyPolygon = aResult; + aLinePolyPolygon = std::move(aResult); } } diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx index 034e6d1056a5..5ce78f69b426 100644 --- a/vcl/source/window/stacking.cxx +++ b/vcl/source/window/stacking.cxx @@ -231,7 +231,7 @@ void Window::ImplCalcToTop( ImplCalcToTopData* pPrevData ) ImplCalcToTopData* pData = new ImplCalcToTopData; pPrevData->mpNext.reset(pData); pData->mpWindow = this; - pData->mpInvalidateRegion.reset(new vcl::Region( aInvalidateRegion )); + pData->mpInvalidateRegion.reset(new vcl::Region(std::move(aInvalidateRegion))); } } |