diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-07-12 20:31:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-13 08:33:07 +0200 |
commit | d766373f3b17d2749176f77958df793cd07ceced (patch) | |
tree | b4cbe6d1a5d30cdeec43a86513741fb9ac7ba0ad /sw/source | |
parent | 4e0a7df2dfa10bc52d5dbda34f43e0bc0df22ae7 (diff) |
sw RTF export: use std::make_unique
Change-Id: I7cd54cbbea55b7a7fd64597c48407629f10cddd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118790
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/rtfexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index c7be2d080d0a..fae7931e9b4d 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -731,7 +731,7 @@ ErrCode RtfExport::ExportDocument_Impl() } // Init sections - m_pSections.reset(new MSWordSections(*this)); + m_pSections = std::make_unique<MSWordSections>(*this); // Page description WritePageDescTable(); |