[Libreoffice-commits] core.git: sw/source

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 13 06:33:42 UTC 2021


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

New commits:
commit d766373f3b17d2749176f77958df793cd07ceced
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Jul 12 20:31:38 2021 +0200
Commit:     Miklos Vajna <vmiklos at 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 <vmiklos at 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();


More information about the Libreoffice-commits mailing list