sw/source/filter/ww8/rtfexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d766373f3b17d2749176f77958df793cd07ceced
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Mon Jul 12 20:31:38 2021 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Jul 13 08:33:07 2021 +0200

    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 <vmik...@collabora.com>

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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to