summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpfribtable.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-03 11:36:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-03 12:38:46 +0200
commit86e54f2d757fe300ba634cdcbf0ee8a589dbc2ae (patch)
tree691ebc93098a0421dcf7f93fc07df3a06b6a879c /lotuswordpro/source/filter/lwpfribtable.cxx
parent222dc6ef01ae56f9c77d225f96a99a93f841e809 (diff)
loplugin:useuniqueptr in XFStyleContainer
Change-Id: I0a9765ab4107a534f211e3531f7948516f1a0c02 Reviewed-on: https://gerrit.libreoffice.org/52297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribtable.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpfribtable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfribtable.cxx b/lotuswordpro/source/filter/lwpfribtable.cxx
index 0bfa7d6b7485..a6c50b86f9ee 100644
--- a/lotuswordpro/source/filter/lwpfribtable.cxx
+++ b/lotuswordpro/source/filter/lwpfribtable.cxx
@@ -90,7 +90,7 @@ void LwpFribTable::RegisterNewStyle()
std::unique_ptr<XFParaStyle> xParaStyle(new XFParaStyle);
*xParaStyle = *pOldStyle;
XFStyleManager* pXFStyleManager = LwpGlobalMgr::GetInstance()->GetXFStyleManager();
- m_StyleName = pXFStyleManager->AddStyle(xParaStyle.release()).m_pStyle->GetStyleName();
+ m_StyleName = pXFStyleManager->AddStyle(std::move(xParaStyle)).m_pStyle->GetStyleName();
}
}
}