diff options
Diffstat (limited to 'svx/source/svdraw/svdotext.cxx')
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 7a1d1c9421ce..cb02ba7da976 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -65,9 +65,9 @@ using namespace com::sun::star; // BaseProperties section -sdr::properties::BaseProperties* SdrTextObj::CreateObjectSpecificProperties() +std::unique_ptr<sdr::properties::BaseProperties> SdrTextObj::CreateObjectSpecificProperties() { - return new sdr::properties::TextProperties(*this); + return o3tl::make_unique<sdr::properties::TextProperties>(*this); } // DrawContact section |