diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-11 13:04:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 06:10:36 +0000 |
commit | 0b272cdf0025ce4bca31ee01c8b3aaca042dcb62 (patch) | |
tree | e5d3ec93289598ebfe0121e7a3d0c880c3054844 /include/svx/langbox.hxx | |
parent | 570d8dab6d6754ab8020cbe6624020dff7b8b624 (diff) |
new loplugin: useuniqueptr: svx
Change-Id: I0eb3d43d7bcfc491df16a72997a0720a6aec2c5c
Reviewed-on: https://gerrit.libreoffice.org/32959
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/langbox.hxx')
-rw-r--r-- | include/svx/langbox.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index 6aeb86776d44..4a309e2ee17b 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -90,7 +90,8 @@ protected: Image m_aNotCheckedImage; Image m_aCheckedImage; OUString m_aAllString; - css::uno::Sequence< sal_Int16 > *m_pSpellUsedLang; + std::unique_ptr<css::uno::Sequence< sal_Int16 >> + m_pSpellUsedLang; SvxLanguageListFlags m_nLangList; bool m_bHasLangNone; bool m_bLangNoneIsLangAll; |