diff options
Diffstat (limited to 'svx/source/dialog/fontlb.cxx')
-rw-r--r-- | svx/source/dialog/fontlb.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index 6ba989d88690..a2e4b6dde8c3 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -46,9 +46,9 @@ SvLBoxFontString::~SvLBoxFontString() { } -SvLBoxItem* SvLBoxFontString::Create() const +std::unique_ptr<SvLBoxItem> SvLBoxFontString::Clone(SvLBoxItem const *) const { - return new SvLBoxFontString; + return std::unique_ptr<SvLBoxItem>(new SvLBoxFontString); } void SvLBoxFontString::Paint(const Point& rPos, SvTreeListBox& rDev, vcl::RenderContext& rRenderContext, |