summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-24 13:42:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-29 17:03:46 +0200
commit979293ca138ccfb22ff1282b9055ae18b775fed8 (patch)
treee12dee56ff9d432771cfa3c9ac6fba968be8dd16 /include/svtools
parent89f470752d0ecc2a389aa8f630800a195a341a6d (diff)
loplugin:useuniqueptr in FontNameBox
Change-Id: Icb362d46b34010dbfc97014d76a364b720c73b02 Reviewed-on: https://gerrit.libreoffice.org/53595 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/ctrlbox.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index 5e557e24777f..bb080249fa42 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -283,7 +283,7 @@ inline void LineListBox::SetNone( const OUString& sNone )
class SVT_DLLPUBLIC FontNameBox : public ComboBox
{
private:
- ImplFontList* mpFontList;
+ std::unique_ptr<ImplFontList> mpFontList;
bool mbWYSIWYG;
OUString maFontMRUEntriesFile;