diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/impastpl.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index 69e535b9a82c..51a59e9b57d0 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -34,7 +34,7 @@ #include <xmloff/xmltoken.hxx> #include "impastpl.hxx" - +#include <o3tl/make_unique.hxx> using namespace ::std; using namespace ::com::sun::star; @@ -433,9 +433,7 @@ void SvXMLAutoStylePoolP_Impl::AddFamily( } #endif - std::unique_ptr<XMLAutoStyleFamily> pFamily( - new XMLAutoStyleFamily(nFamily, rStrName, rMapper, aPrefix, bAsFamily)); - m_FamilySet.insert(std::move(pFamily)); + m_FamilySet.insert(o3tl::make_unique<XMLAutoStyleFamily>(nFamily, rStrName, rMapper, aPrefix, bAsFamily)); } void SvXMLAutoStylePoolP_Impl::SetFamilyPropSetMapper( |