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