summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/items/xmlcnitm.cxx2
-rw-r--r--lotuswordpro/source/filter/lwppara1.cxx2
-rw-r--r--sc/source/core/data/markdata.cxx2
-rw-r--r--sc/source/filter/excel/xiescher.cxx2
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx
index 96cbd49166cc..07883f67e6c5 100644
--- a/editeng/source/items/xmlcnitm.cxx
+++ b/editeng/source/items/xmlcnitm.cxx
@@ -141,7 +141,7 @@ bool SvXMLAttrContainerItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nM
}
if( nAttr == nCount )
- pImpl.reset( pNewImpl.release() );
+ pImpl = std::move(pNewImpl);
else
return false;
}
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx
index 7499af4d3514..58436d090809 100644
--- a/lotuswordpro/source/filter/lwppara1.cxx
+++ b/lotuswordpro/source/filter/lwppara1.cxx
@@ -542,7 +542,7 @@ void LwpPara::OverrideParaNumbering(LwpParaProperty* pProps)
pOver->OverrideLevel(m_nLevel);
}
- m_pParaNumbering.reset(pOver.release());
+ m_pParaNumbering = std::move(pOver);
}
void LwpPara::FindLayouts()
diff --git a/sc/source/core/data/markdata.cxx b/sc/source/core/data/markdata.cxx
index 9cb5329b8531..39a5728cd6cd 100644
--- a/sc/source/core/data/markdata.cxx
+++ b/sc/source/core/data/markdata.cxx
@@ -721,7 +721,7 @@ void ScMarkData::GetSelectionCover( ScRange& rRange )
if ( bCurColUnMarked )
pPrevColMarkedRows.reset( nullptr );
else
- pPrevColMarkedRows.reset( pCurColMarkedRows.release() );
+ pPrevColMarkedRows = std::move( pCurColMarkedRows );
}
for( auto& rKV : aRowToColSegmentsInTopEnvelope )
{
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 30ccf35ebca5..e22d69a195e7 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -3546,7 +3546,7 @@ SdrObject* XclImpDffConverter::ProcessObj( SvStream& rDffStrm, DffObjData& rDffO
// try to create a custom SdrObject that overwrites the passed object
SdrObjectPtr xNewSdrObj( xDrawObj->CreateSdrObject( *this, rAnchorRect, true ) );
if( xNewSdrObj )
- xSdrObj.reset( xNewSdrObj.release() );
+ xSdrObj = std::move( xNewSdrObj );
// process the SdrObject
if( xSdrObj )
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e77e164ad8a9..b489623cccb8 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -4894,7 +4894,7 @@ void DocxAttributeOutput::WritePostponedDMLDrawing()
}
m_bStartedParaSdt = bStartedParaSdt;
- m_pPostponedOLEs.reset(pPostponedOLEs.release());
+ m_pPostponedOLEs = std::move(pPostponedOLEs);
}
void DocxAttributeOutput::OutputFlyFrame_Impl( const ww8::Frame &rFrame, const Point& rNdTopLeft )