summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-11 12:09:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 08:45:17 +0200
commitd1ae2387c729ac8a0e616c57075174eb0d06d389 (patch)
tree8ce39a165e5c6560c6b57645c109384b4c20efc9 /include
parentKeep strings alive again as necessary (diff)
downloadcore-d1ae2387c729ac8a0e616c57075174eb0d06d389.tar.gz
core-d1ae2387c729ac8a0e616c57075174eb0d06d389.zip
make FontList::Clone return a std::unique_ptr
and simplify the logic in SvxCharNamePage Change-Id: Ic1b379bb83203aa1ebf47b44d944c83a02c04224 Reviewed-on: https://gerrit.libreoffice.org/52744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/ctrltool.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/ctrltool.hxx b/include/svtools/ctrltool.hxx
index 4c642df4be47..da7be4b3c770 100644
--- a/include/svtools/ctrltool.hxx
+++ b/include/svtools/ctrltool.hxx
@@ -159,7 +159,7 @@ public:
OutputDevice* pDevice2 = nullptr);
~FontList();
- FontList* Clone() const;
+ std::unique_ptr<FontList> Clone() const;
OUString GetFontMapText( const FontMetric& rFontMetric ) const;