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

Miklos Vajna vmiklos at collabora.co.uk
Wed Aug 3 08:21:02 UTC 2016


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

New commits:
commit e5359520ddbef00c0b1930fd6c1685b2df943349
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Aug 3 09:15:33 2016 +0200

    sw: use std::move() in RtfAttributeOutput
    
    Change-Id: Ie410d6d34a663fd438d4e4e966578acc74865c55
    Reviewed-on: https://gerrit.libreoffice.org/27819
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index cfa4f50..4bff6f8 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -1826,7 +1826,7 @@ void RtfAttributeOutput::writeTextFrame(const ww8::Frame& rFrame, bool bTextBox)
 
         // Restore table state.
         m_rExport.m_pTableInfo = pTableInfoOrig;
-        m_pTableWrt.reset(pTableWrt.release());
+        m_pTableWrt = std::move(pTableWrt);
         m_nTableDepth = nTableDepth;
     }
 


More information about the Libreoffice-commits mailing list