diff options
Diffstat (limited to 'svx/source/svdraw/svdocirc.cxx')
-rw-r--r-- | svx/source/svdraw/svdocirc.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index e55f79183d18..71dad28a7b6e 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -49,6 +49,7 @@ #include <svx/xlnstwit.hxx> #include <svx/xlnwtit.hxx> #include <svx/xpool.hxx> +#include <o3tl/make_unique.hxx> using namespace com::sun::star; @@ -99,9 +100,9 @@ sdr::properties::BaseProperties* SdrCircObj::CreateObjectSpecificProperties() // DrawContact section -sdr::contact::ViewContact* SdrCircObj::CreateObjectSpecificViewContact() +std::unique_ptr<sdr::contact::ViewContact> SdrCircObj::CreateObjectSpecificViewContact() { - return new sdr::contact::ViewContactOfSdrCircObj(*this); + return o3tl::make_unique<sdr::contact::ViewContactOfSdrCircObj>(*this); } SdrCircObj::SdrCircObj( |