summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sdr/overlay/overlaymanager.cxx2
-rw-r--r--svx/source/svdraw/svdocapt.cxx2
-rw-r--r--svx/source/table/tablertfimporter.cxx2
-rw-r--r--svx/source/xml/xmlgrhlp.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx
index 7edd853cf03b..e2552631b094 100644
--- a/svx/source/sdr/overlay/overlaymanager.cxx
+++ b/svx/source/sdr/overlay/overlaymanager.cxx
@@ -174,7 +174,7 @@ namespace sdr::overlay
drawinglayer::geometry::ViewInformation2D aViewInformation(maViewInformation2D);
aViewInformation.setViewTransformation(maViewTransformation);
aViewInformation.setViewport(aViewRange);
- pThis->maViewInformation2D = aViewInformation;
+ pThis->maViewInformation2D = std::move(aViewInformation);
pThis->mfDiscreteOne = 0.0;
}
diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx
index f75177d5fc07..f2528d588216 100644
--- a/svx/source/svdraw/svdocapt.cxx
+++ b/svx/source/svdraw/svdocapt.cxx
@@ -463,7 +463,7 @@ void SdrCaptionObj::ImpCalcTail2(const ImpCaptParams& rPara, tools::Polygon& rPo
if (!rPara.bFixedAngle) {
// TODO: Implementation missing.
}
- rPoly=aPol;
+ rPoly = std::move(aPol);
}
void SdrCaptionObj::ImpCalcTail3(const ImpCaptParams& rPara, tools::Polygon& rPoly, tools::Rectangle const & rRect)
diff --git a/svx/source/table/tablertfimporter.cxx b/svx/source/table/tablertfimporter.cxx
index c2e3de7ab144..9b34e5fe7a48 100644
--- a/svx/source/table/tablertfimporter.cxx
+++ b/svx/source/table/tablertfimporter.cxx
@@ -235,7 +235,7 @@ void SdrTableRTFParser::InsertCell( RtfImportInfo const * pInfo )
{
RTFCellInfoPtr xLastCell( (*mxLastRow)[mnVMergeIdx] );
if (xLastCell->mnRowSpan)
- xCellInfo->mxVMergeCell = xLastCell;
+ xCellInfo->mxVMergeCell = std::move(xLastCell);
else
xCellInfo->mxVMergeCell = xLastCell->mxVMergeCell;
}
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 432288a710dc..a2709bb8c943 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -502,7 +502,7 @@ Graphic SvXMLGraphicHelper::ImplReadGraphic( const OUString& rPictureStorageName
std::unique_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(aStream.xStream));
Graphic aGraphic = rGraphicFilter.ImportUnloadedGraphic(*pStream);
if (!aGraphic.IsNone())
- aReturnGraphic = aGraphic;
+ aReturnGraphic = std::move(aGraphic);
else
rGraphicFilter.ImportGraphic(aReturnGraphic, u"", *pStream);
}