summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpsilverbullet.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/lwpsilverbullet.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/lwpsilverbullet.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpsilverbullet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx
index e5a762c0d0fb..78aa35c94f98 100644
--- a/lotuswordpro/source/filter/lwpsilverbullet.cxx
+++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx
@@ -178,7 +178,7 @@ void LwpSilverBullet::RegisterStyle()
}
//add style-list to style manager.
- m_strStyleName = pXFStyleManager->AddStyle(xListStyle.release()).m_pStyle->GetStyleName();
+ m_strStyleName = pXFStyleManager->AddStyle(std::move(xListStyle)).m_pStyle->GetStyleName();
}
/**