summaryrefslogtreecommitdiff
path: root/sw/inc/hhcwrp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-24 11:17:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-25 08:46:36 +0200
commitbe1cc9d0d2e7cdbf449521a9e602ac5a288255ab (patch)
tree6c8166a051d97f67f5d1f29ceee5d04ce1466096 /sw/inc/hhcwrp.hxx
parentdf0175c71ee836ed6e832e8849d9004cef530c65 (diff)
loplugin:useuniqueptr in SwHHCWrapper
Change-Id: Id651533b725c61f2fabd6ac51d640a42b06e6eea Reviewed-on: https://gerrit.libreoffice.org/57942 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/hhcwrp.hxx')
-rw-r--r--sw/inc/hhcwrp.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx
index f595cf045d10..6cfdec0f2347 100644
--- a/sw/inc/hhcwrp.hxx
+++ b/sw/inc/hhcwrp.hxx
@@ -34,8 +34,8 @@ class SW_DLLPUBLIC SwHHCWrapper : public editeng::HangulHanjaConversion
VclPtr<vcl::Window> m_pWin;
SwWrtShell &m_rWrtShell;
- SwConversionArgs *m_pConvArgs; /**< object for arguments (and results) needed
- to find of next convertible text portion */
+ std::unique_ptr<SwConversionArgs> m_pConvArgs; /**< object for arguments (and results) needed
+ to find of next convertible text portion */
sal_Int32 m_nLastPos; /**< starting position of the last found text part
(needs to be sth that gets not moved like